write a query that returns first characters of each word in
Oracel/Sql pl sql
Answer Posted / rajesh venati
For SQL:-
SELECT SUBSTR(ENAME,1,1) FROM EMP;
--------------------------------------------------------------
For PL-SQL:-
DECLARE
CURSOR ECUR IS SELECT SUBSTR(ENAME,1,1) FROM EMP;
BEGIN
FOR V_ECUR IN ECUR LOOP
DBMS_OUTPUT.PUT_LINE(V_ECUR.ENAME);
END LOOP;
END;
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is the difference between a procedure and a function?
Which one is better subquery or joins?
What is the process of debugging?
Is left join same as inner join?
how can we repair a mysql table? : Sql dba
define sql update statement ? : Sql dba
How do I find duplicates in sql?
What is varchar data type in sql?
Which command is used to call a stored procedure?
What packages are available to pl/sql developers?
Is it possible to read/write files to-and-from PL/SQL?
What is AUTH_ID and AUTH_USER in pl/sql ?
what is isam? : Sql dba
What is the difference between sql and isql*plus?
What are the different type of joins in sql?