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
Can %notfound return null after a fetch?
Why procedure is used in sql?
Write a sql select query that only returns each name only once from a table?
Is inner join faster than left join?
Write a sql query to convert all character to uppercase after hypen.
Is it possible for a table to have more than one foreign key?
How can use stored procedures in sql?
what is the difference between nested subquery and correlated subquery?
what is the difference between clustered and non clustered index in sql? : Sql dba
What are the ddl commands?
Explain what is an index?
what does the t-sql command ident_incr does? : Transact sql
Why do we use cursors?
How do you pronounce sql?
What is a behavioral trigger?