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
Why we use joins in sql?
Name three sql operations that perform a sort.
What is normalisation and its types?
What is delete command in sql?
how to create a table index in mysql? : Sql dba
What is data control language (dcl)?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
what is oltp (online transaction processing)? : Sql dba
What is AUTH_ID and AUTH_USER in pl/sql ?
How do you declare a variable in pl sql?
Which sql statement is used to delete data from a database?
What are predefined functions in sql?
How do you explain an index?
What is the difference between rollback and rollback to statements?
What is java sql drivermanager?