Well, I have disabled FK constraints, done a truncate and re-enabled.

Terry

"Miller, Jay" wrote:

> You would need to drop any foreign key constraints pointing to that table
> before truncating and then recreate them after reloading the data.
> If I remember correctly, simply disabling them won't work since Oracle
> treats Truncate Table the same as Drop Table in many ways.
> Other constraints (NOT NULL, etc) won't be affected.
>
> Also, depending on the size of your initial extent and the amount of data
> you have remaining, you might be able to resize the one remaining datafile
> down after you truncate the table. (e.g., if your initial exent is 5 Meg and
> you don't anticipate ever having more than 1 Meg of data, you can RESIZE the
> datafile down to 5 Meg after the truncate).
>
> Jay Miller
>
> -----Original Message-----
> Sent: Thursday, July 26, 2001 8:36 AM
> To: Multiple recipients of list ORACLE-L
>
> This can be done . But what about the constraints ?
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 5:41 PM
>
> > I think this is happening because when you DELETE data the High Water
> > Mark(HWM) is not lowered. Essentially
> > you have not gained any freespace. If possible you could export remaining
> > data truncate table then re-import.
> >
> > Correct me if I am wrong here.
> >
> > Rick
> >
> > -----Original Message-----
> > Sent: Thursday, July 26, 2001 7:41 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > Hi All,
> >    I have deleted 3 lakhs records from a large table. But there is no
> effect
> > on tablespace i.e. before I delete the data freespace in TS is 100MB ,
> after
> > deletion also it is showing 100MB. What could be the reason ? How to get
> the
> > freespace after deleting the data ?
> > Thanks
> > rukmini
> >
> >
> >
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Rukmini Devi
> >   INET: [EMAIL PROTECTED]
> >
> > Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> > San Diego, California        -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Cale, Rick T (Richard)
> >   INET: [EMAIL PROTECTED]
> >
> > Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> > San Diego, California        -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rukmini Devi
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Miller, Jay
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Terry Ball
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to