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 are commit, rollback, and savepoint?
What are inner outer left and right joins in sql?
what is the difference between blob and text? : Sql dba
How many scalar data types are supported in pl/sql?
What is the advantage of nosql?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
List the various privileges that a user can grant to another user?
What is triggering circuit?
what are all the different normalizations? : Sql dba
What are the different dcl commands in sql?
What is the difference between python and sql?
What are all different types of collation sensitivity?
Are there any features that are decommissioned in 11g that are not present in 11g?
what are all different types of collation sensitivity? : Sql dba
what is innodb? : Sql dba