write a query that returns first characters of each word in
Oracel/Sql pl sql
Answer Posted / murali
Answers given above are correct except one
For PL-SQL:-
DECLARE
CURSOR ECUR IS SELECT SUBSTR(ENAME,1,1) as sub_name FROM EMP;
BEGIN
FOR V_ECUR IN ECUR LOOP
DBMS_OUTPUT.PUT_LINE(V_ECUR.sub_name);
END LOOP;
END;
Note: column alias name must be given.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Which version of sql do I have?
What are procedures used for?
When are we going to use truncate and delete?
how to create a new view in mysql? : Sql dba
Does truncate release storage space?
how to get help information from the server? : Sql dba
what is a scheduled jobs or what is a scheduled tasks? : Sql dba
how to convert character strings to dates? : Sql dba
how would concatenate strings in mysql? : Sql dba
How to run pl sql program in mysql?
How to install oracle sql developer?
Is left join and outer join same?
Why do we use subquery?
what is error ora-03113: end-of-file on communication channel?
How many postgresql users are there, worldwide?