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 blob? : Sql dba
What does joining a thread mean?
how can we take a backup of a mysql table and how can we restore it. ? : Sql dba
How do you modify a trigger?
What is trigger and how to use it in sql?
What is the basic structure of an sql?
Can we use loop in sql?
Can a key be both primary and foreign?
Why is pl sql used?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
Why are aggregate functions called so?
What is a relationship and what are they?
what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba
What is a system versioned table?
How many types of keys are there in sql?