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
Where the sql database files are stored?
What is the order of sql select?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
what are the drivers in mysql? : Sql dba
Is oracel sql developer written in java?
What is the meaning of disabling a trigger?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
Which is better trigger or stored procedure?
What is the purpose of primary key?
how is exception handling handled in mysql? : Sql dba
What is sql and explain its components?
What is an index in sql with example?
How do I access sql anywhere database?
What is duration in sql profiler trace?
How does postgresql compare to "nosql"?