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 a primary key called that is made up of more than one field?
Explain select statements in sql?
Does a primary key have to be a number?
how to create a table index in mysql? : Sql dba
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What is multiple partition?
how to use in conditions? : Sql dba
explain the options of myisamchk to improve the performance of a table. : Sql dba
How to take user input in pl sql?
How do I tune a sql query?
how to check server status with 'mysqladmin'? : Sql dba
What is the difference between function and procedure in pl/sql?
Is mariadb nosql?
Are there any features that are decommissioned in 11g that are not present in 11g?
Explain the purpose of %type and %rowtype data types?