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 different types of indexes?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
How does sql store data?
how to convert numeric values to character strings? : Sql dba
what is commit? : Sql dba
What is sql data?
Is left join faster than join?
Can we use pl sql in sql server?
How to pipe multiline string to isql?
What does sign mean sql?
What are the types of variable use in pl sql?
Which are the different case manipulation functions in sql?
What are variables in pl sql?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
How to create an array in pl/sql?