HOW TO PRINT
*
**
***
****
*****
BY USING SQL QUERY? (MAY BE USING SCRIPT)
Answer Posted / shrikant tyagi in nucleus soft
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 | 0 No |
Post New Answer View All Answers
What is cartesian join in sql?
What are the subsets of sql?
What are aggregate functions in sql?
How do I get sql certification?
What jobs use sql?
Is sqlite good enough for production?
What is the use of function "module procedure" in pl/sql?
Can we rollback delete command?
When to use inner join and left join?
What is constant in pl sql?
What is the max nvarchar size?
What is a delimiter in sas?
How to get list of all tables from a database?
What is the command used to fetch first 5 characters of the string?
What is the difference between partition and index?