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 is the left table in sql?
What is sql rowcount?
What are the properties of a transaction?
Write a unique difference between a function and a stored procedure.
Is join an inner join?
What is sql used for?
How to select random rows from a table?
Why we use triggers in mysql?
How do you get column names only for a table (sql server)?
What are the constraints available in sql?
what happens if null values are involved in expressions? : Sql dba
Can a procedure in a package be overloaded?
How many disk partitions should I have?
What are the benefits of pl/sql packages?
What is union and union all keyword in sql?