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
What are procedures used for?
What is data profiling in sql?
What is over () in sql?
What is a unique key?
What does pragma mean?
what are all types of user defined functions? : Sql dba
Does access use sql?
Can two tables have same primary key?
Is pl sql useful?
what is 'mysqlimport'? : Sql dba
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
What are the types of records?
Is t sql a programming language?
Why do we use procedures?
what is a unique key ? : Sql dba