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 tsql statements can be written and submitted to the database engine? : Transact sql
What is t sql used for?
What are types of exception?
What does select * from mean in sql?
What are aggregate functions in sql?
what is a cursor? : Sql dba
Why plvtab is considered as the easiest way to access the pl/sql table?
what is csv? : Sql dba
What is scope and visibility in PL/SQL?
what is a view? : Sql dba
Does inner join remove duplicates?
What are the methods of filing?
what is the difference between cluster and non cluster index? : Sql dba
Why we use sql profiler?
What are the different schemas objects that can be created using pl/sql?