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
Show how functions and procedures are called in a pl/sql block.
What is audit logout in sql profiler?
Explain character-manipulation functions?
What is rank () in sql?
explain the advantages and disadvantages of stored procedure? : Sql dba
What is cartesian join in sql?
Why use stored procedures?
What do you understand by pl/sql packages?
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
Which is the correct statement about truncate and delete?
What is oracle pl sql developer?
Explain the purpose of %type and %rowtype data types with the example?
what is an index? : Sql dba
What is function and procedure?
How do I save a sql query?