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 recursive stored procedure?
How many subqueries can be nested in a statement?
What is the difference between partitioning and sharding?
What are the packages in pl sql?
how to rename an existing table in mysql? : Sql dba
How delete all data from table in sql?
Why do we use view in sql?
Is merge a dml statement?
What is character functions?
how can you create an empty table from an existing table? : Sql dba
Explain some predefined exceptions.
How many parts of a pl sql block are optional?
What will you get by the cursor attribute sql%notfound?
What is left join in sql?
Is sql harder than python?