HOW TO PRINT
*
**
***
****
*****
BY USING SQL QUERY? (MAY BE USING SCRIPT)
Answer Posted / shrikant tyagi
HOW TO PRINT * ** *** **** ***** BY USING SQL QUERY? (MAY
BE USING SCRIPT)
this is using script;
declare
type a1 is table of varchar2(100);
a a1;
b varchar2(100);
begin
select lpad('*',rownum,'*') bulk collect into a from
lea_agreement_dtl where rownum < 5;
for i in 1..a.count
loop
b:=b||' '||a(i);
end loop;
dbms_output.put_line(b);
end;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain what is sql?
how to shutdown mysql server? : Sql dba
How do I save a stored procedure?
What are the different types of tables in sql?
Is sql harder than python?
What is the process of debugging?
What is trigger price?
What is clause in sql?
What kind of join is join?
Why procedure is used in sql?
Is primary key clustered or nonclustered?
What are inner outer left and right joins in sql?
What is thread join () in threading?
how do you control the max size of a heap table? : Sql dba
Why we use sql profiler?