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
What does stand for in sql?
What are sql indexes?
What is a record in a database?
What are the parts of a basic sql query?
What is the difference between cross join and natural join?
What is trigger in pl sql?
Does sql require a server?
Define commit?
how do you tune the slow running queries in oracle db , explain the methodology
What is procedure and function in sql?
how would you get the current date in mysql? : Sql dba
How to display Row Number with Records in Oracle SQL Plus?
What is nested table in pl sql?
Can a trigger call a stored procedure?
What is string join?