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: <deltondm_at_my-deja.com>
Date: Mon, 19 Jul 1999 02:01:04 GMT
Message-ID: <7mu0ss$ffm$1@nnrp1.deja.com>


create table test as
  select *
    from abc
    where rownum <= 50;

In article <97431316_at_NEWS.SAIC.COM>,
  "Tay, Virginia" <htay_at_geocities.com> 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
>
>

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Sun Jul 18 1999 - 21:01:04 CDT

Original text of this message

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