Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can %notfound return null after a fetch?

1040


Why procedure is used in sql?

1025


Write a sql select query that only returns each name only once from a table?

994


Is inner join faster than left join?

1172


Write a sql query to convert all character to uppercase after hypen.

1416


Is it possible for a table to have more than one foreign key?

1017


How can use stored procedures in sql?

1116


what is the difference between nested subquery and correlated subquery?

1028


what is the difference between clustered and non clustered index in sql? : Sql dba

1107


What are the ddl commands?

990


Explain what is an index?

1034


what does the t-sql command ident_incr does? : Transact sql

1054


Why do we use cursors?

976


How do you pronounce sql?

988


What is a behavioral trigger?

961