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 -> Trim a table for development...

Trim a table for development...

From: Stephen B <stephen.bell_at_cgi.ca>
Date: Mon, 28 Jan 2002 07:51:36 -0500
Message-ID: <4Rb58.6351$yi5.860512@news20.bellglobal.com>


Good morning all,

We have a fact table of approximately 21 million records that we use in production. For development purposes I'd like our developers to use the table in our development database, but they don't need that many records...probably one million is sufficient...

I'm trying to come up with a way to leave a representative sample of records in the table but because of the nature of the data the sample won't be useful to them if I simply keep the first million records...are there any suggestions on how I could delete say, every twentieth record to trim the table down that way?

Any thoughts gratefully accepted and best regards,

Steve Received on Mon Jan 28 2002 - 06:51:36 CST

Original text of this message

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