write a query that returns first characters of each word in
Oracel/Sql pl sql
Answer Posted / muhammad faisal
/*
using PL SQL code*/
declare
CURSOR emp_sub IS SELECT substr(last_name,1,1)
from employees;
name employees.last_name%type;
begin
open emp_sub;
loop
fetch emp_sub into name;
/*select last_name into name from employees;*/
dbms_output.put_line(name);
exit when emp_sub%notfound;
end loop;
close emp_sub;
end;
/
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What are the built in functions of sql?
explain advantages of myisam over innodb? : Sql dba
How can one get sql*loader to commit only at the end of the load file? : aql loader
What is the use of sql trace?
How exception is different from error?
What is embedded sql with example?
How many databases can sql express handle?
What are different types of queries in sql?
Which constraints we can use while creating database in sql?
What is crud sql?
Why join is faster than subquery?
What does := mean in pl sql?
What is data abstraction in sql?
how to fetch alternate records from a table? : Sql dba
What is crud diagram?