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
how to get @@error and @@rowcount at the same time? : Sql dba
What are tables in sql?
Can %notfound return null after a fetch?
What are the different ways to optimize a sql query?
What's the difference between a primary key and a clustered index?
What program will open a mdb file?
What are the different dml commands in sql?
What trigger means?
what are the performance and scalability characteristics of mysql? : Sql dba
Why do we need sharding?
What is use of package in pl sql?
Could you please provide oca (oracle 10g) dumps for my certification ?
Why truncate is used in sql?
What are the different types of dbmss?
define sql update statement ? : Sql dba