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
Is it mandatory for the primary key to be given a value when a new record is inserted?
What is sql and explain its components?
How do you identify a primary key?
What is clause?
How can you save or place your msg in a table?
How do I count duplicates in sql?
What are the different sql commands?
How to write pl sql program in mysql command prompt?
Can we have two clustered index on a table?
What is cursor and why it is required?
what is commit? : Sql dba
How to run pl sql program in mysql?
What is dml with example?
what are different types of keys in sql?
what is a constraint? Tell me about its various levels. : Sql dba