write a query that returns first characters of each word in
Oracel/Sql pl sql
Answer Posted / hari k
set serveroutput on;
declare
cursor c1 is select substr(name1,1,1) from tab1;
v_string tab1.name1%type;
begin
open c1;
loop
fetch c1 into v_string ;
exit when c1%notfound;
dbms_output.put_line(v_string);
end loop;
end;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is foreign key sql?
Differentiate between pl/sql and sql?
What does pl sql developer do?
how many columns can be used for creating index? : Sql dba
Can we use pl sql in sql server?
What are the disadvantages of not performing database normalization?
What is the difference between subquery and correlated query?
What is the difference between a query and a report?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
what is top in tsql? : Transact sql
What is sp_helptext?
What is error ora-01000: maximum open cursors exceeded
what are properties of a transaction? : Sql dba
What are the two types of exceptions.
What is the difference between rollback and rollback to statements?