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: deleting rows from a table

Re: deleting rows from a table

From: Alan D. Mills <alanmNOSPAM_at_uk.europe.mcd.mot.com>
Date: Thu, 30 Jul 1998 15:25:28 +0100
Message-ID: <6ppvnt$9os$1@schbbs.mot.com>


If you simply want to remove an arbitrary 200 rows from your table then using something like

DELETE FROM MyTable
WHERE ROWNUM <= 200;

I can't vouch for how 'random' the 200 records removed will be though.

--
Alan D. Mills

>I want to delete 200 rows from a table which has 1000 rows. The rows can be
>chosen in a random order.
>
Received on Thu Jul 30 1998 - 09:25:28 CDT

Original text of this message

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