Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: constraint naming
Guy Hammond wrote:
>
> O Wise and Powerful Oracle:
>
> Is there a way to change thy system-generated names for foreign key
> constraints to something sensible without invoking Deep Magic?
>
> g
>
> --
> Guy Hammond
> AVT Technologies
> 12-16 Westland Place
> London N1 7LP UK
>
> Email: guy.hammond_at_avt.co.uk
> Office: +44 (0) 207 454 1224
> Mobile: +44 (0) 7966 164687
>
Foreign key you say? I think that for them updating sys.con$ should be relatively safe, I don't believe that there is any other place (contrarily to PK and UQ constraints) where the name appears and is used. If I where you I would export with ROWS=N, reimport into a test database, fiddle in the dictionary, export the result with ROWS=N again, check with imp SHOW=Y that it looks like what you want, drop all FKs on the prod database, and reimport on the prod with IGNORE=Y. Should keep the risk of screwing up something to a minimum.
-- Regards, Stephane Faroult Oriole Corporation ------------------------------------------------------------------ http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs ------------------------------------------------------------------ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: sfaroult_at_oriolecorp.com 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: ListGuru_at_fatcity.com (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).Received on Tue Jul 24 2001 - 05:53:23 CDT
![]() |
![]() |