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
What is the difference among union, minus and intersect?
what is csv? : Sql dba
what are numeric data types? : Sql dba
How do I make my sql query run faster?
What is sql injection owasp?
List different type of expressions with the example.
How to get each name only once from an employee table?
Define sql delete statement.
How do I create a sql database?
What is procedure in pl sql?
What is the difference between execution of triggers and stored procedures?
How to run sql statements through the web interface?
Can you upgrade sql express to full sql?
What is offset in sql query?
How are functions and procedures called in PL/SQL?