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 difference between between and in condition operators?
What are the basic techniques of indexing?
What does the acronym acid stand for in database management?
Can we use two order by clause in query?
What is your daily office routine?
Differentiate between syntax and runtime errors.
What is row_number () in sql?
What is secondary key?
What is the example of procedure?
What are all the different normalization?
Why do we use sql constraints?
Could you please provide oca (oracle 10g) dumps for my certification ?
Which are the different character-manipulation functions in sql?
Does mysql_real_escape_string prevent sql injection?
What is foreign key in sql with example?