Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: obtain primary keys
fitzjarrell_at_cox.net wrote:
> Let us not forget foreign keys referencing the currently defined
> primary key as they are likely to be invalidated by the change. One
> needs to find all foreign key constraints and change those column
> definitions as well.
Aah, thanks for pointing that out!
But since I have to change refering columns as well, maybe they becomes valid again?
Whatever, would this help me track them? select * from sys.all_indexes where status != 'VALID' and owner = 'PH'
--ph Received on Fri Feb 11 2005 - 07:35:05 CST