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...

HOW TO PRINT
*
**
***
****
*****
BY USING SQL QUERY? (MAY BE USING SCRIPT)

Answer Posted / bijaylaxmi

declare
m number:=5;
n varchar2(30);
begin
for i in 1..m
loop
for j in 1..i
loop
n:=n||'*';
end loop;
dbms_output.put_line(n);
n:=null;
end loop;
end;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to get @@error and @@rowcount at the same time? : Sql dba

1018


What are tables in sql?

1054


Can %notfound return null after a fetch?

1051


What are the different ways to optimize a sql query?

941


What's the difference between a primary key and a clustered index?

984


What program will open a mdb file?

958


What are the different dml commands in sql?

1166


What trigger means?

972


what are the performance and scalability characteristics of mysql? : Sql dba

995


Why do we need sharding?

982


What is use of package in pl sql?

1009


Could you please provide oca (oracle 10g) dumps for my certification ?

5148


Why truncate is used in sql?

998


What are the different types of dbmss?

1009


define sql update statement ? : Sql dba

1112