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

Home -> Community -> Usenet -> c.d.o.misc -> Re: CREATE TABLE with LIMITED RECORDS

Re: CREATE TABLE with LIMITED RECORDS

From: Kenneth Stahl <kcstahl_at_ix.netcom.com>
Date: Sun, 18 Jul 1999 21:13:34 -0400
Message-ID: <37927BBE.FF7054BE@ix.netcom.com>


CREATE TABLE TEST AS
SELECT * FROM ABC
WHERE ROWNUM < 51;

"Tay, Virginia" wrote:
>
> Hi,
>
> I would like to create a table to restrict only 50 records based on other
> table....How do I do that??
>
> Like the following:
>
> CREATE TABLE TEST
> AS
> SELECT * FROM ABC
>
> Since ABC table has about 60,000 records.......I would like to create
> portion of the records for testing...
>
> Thanks in advance for your help.
>
> Virginia
Received on Sun Jul 18 1999 - 20:13:34 CDT

Original text of this message

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