Subject | Re: [firebird-support] Recreate indexes |
---|---|
Author | Milan Babuskov |
Post date | 2008-07-14T14:06:49Z |
Thomas Steinmaurer wrote:
something like this:
- drop FK constraints
- drop PK and unique constraints
- drop regular indexes
- create regular indexes
- create PK and unique constraints
- create FK constraints
--
Milan Babuskov
http://www.guacosoft.com
>> But If I need to recreate PK what I have to do?Make sure you first drop all the FK as they depend on PK's. It would go
> You have to drop the constraint and re-create it afterwards.
something like this:
- drop FK constraints
- drop PK and unique constraints
- drop regular indexes
- create regular indexes
- create PK and unique constraints
- create FK constraints
--
Milan Babuskov
http://www.guacosoft.com