Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Monday dumb question...

Re: Monday dumb question...

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Mon, 08 Jan 2007 17:36:12 -0700
Message-Id: <200701090036.l090aOSm027583@mail20c0.megamailservers.com>


if you are on 9i or higher this will work:

select rownum-1 from dual connect by level <= 100

At 03:45 PM 1/8/2007, Shreeni wrote:
>What is the easiest way to populate a column with 0-99 without using
>a temp table but just plain SQL ?? :-(
>
>Thanks and have a good day.
>
>Shreeni

Regards

Wolfgang Breitling
Centrex Consulting Corporation
www.centrexcc.com

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 08 2007 - 18:36:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US