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 if we write return in procedure?
What do you understand by exception handling in pl/sql?
What are the benefits of pl/sql packages?
How can I delete duplicate rows?
What is output spooling in sql*plus?
Where can I learn sql for free?
What is an exception in pl/sql?
can sql servers linked to other servers like oracle? : Sql dba
What is minus?
How sql query is executed?
What does the base_object_type column shows in the user.triggers data dictionary view?
What is sql*loader and what is it used for? : aql loader
What is program debugging?
What is a column in a table?
What is varchar sql?