Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to query ...?
hi if it helps ...??
create or replace procedure numbers is
i number :=1;
j number :=1;
flag number :=5;
begin
loop
for j in 1..flag loop dbms_output.put(i); i:=i+1; end loop; if flag = 5 then flag :=3; else flag :=5; end if; dbms_output.put('*'); dbms_output.new_line; exit when (i=1000);
On Jan 30, 2:40 pm, Jeremy <jeremy0..._at_gmail.com> wrote:
> In article <1170138729.917043.271..._at_p10g2000cwp.googlegroups.com>,
> Fhatoy says...
>
> > Dear all,
>
> > How can I write the number from 1 to 1000 on the screen like the
> > following in Oracle ?
>
> > 12345*678*910111213*141516*1718192021*....
>
> > Please help me...What are the * supposed to represent?
> --
> jeremy
Received on Tue Jan 30 2007 - 04:18:25 CST
![]() |
![]() |