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 the join types in tsql? : Transact sql
Enlist the data types that can be used in pl/sql?
Can we create table inside stored procedure?
Are subqueries faster than joins?
What is a sql statement?
How to run sql functions in pl/sql?
Write a query to display the current date in sql?
How does cross join work?
what is the functionality of the function htmlentities? : Sql dba
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
What are the different types of functions in sql?
What is the usage of distinct keyword?
What does pl sql developer do?
What is the difference between null value, zero, and blank space?
What is the difference between in and between in sql?