Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Q: Oracle sqlplus way to capture all duplications and removal.
"Randy Harris" <randy_at_SpamFree.com> wrote
> I realize that it doesn't address the underlying political problems, but if
> this is a one time need... Why couldn't ColoC simply spool a SELECT DISTINCT
> to a file, TRUNCATE the table, then reload?
One should *never* *ever* work around political when dealing with what needs to be done technically.
How this should be done, *correctly*, is as follows: - ensuring that the live table is read-only for the duration of the fix
- a backup of the table in question (export) - creating a fixed (non-duplicates) table - testing the fixed table (making sure thatthe fix did work correctly)
This requires that the DBA and production admins work together. Users be notified, if applicable. Doing what needs to be done *together* to address and fix the problem.
What's so difficult about this?
-- BillyReceived on Sun Sep 07 2003 - 05:45:29 CDT
![]() |
![]() |