add FK constraint with nocheck
From: Norman (anonymous_at_discussions.microsoft.com)
Date: 03/17/04
- Next message: ricky: "how to trim the last 2 digits??"
- Previous message: kurt: "query problem"
- Next in thread: Ray Higdon: "Re: add FK constraint with nocheck"
- Reply: Ray Higdon: "Re: add FK constraint with nocheck"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 01:10:12 -0800
I want to drop FK constraints while I do mass delete from
tables which has several steps relationships.
And then when deletions are done I have to set back.
In the tables even after the deletion there are over 300
million posts.
So, I want to add FK constraints with nocheck so that SQL
server doesn't check existing data.
But what happens when new data is added ?
Do these FK constraints added as with nocheck will check
the PK in parent tables ?
Anyone know how "add FK constraint with nocheck" exactly
works ?
- Next message: ricky: "how to trim the last 2 digits??"
- Previous message: kurt: "query problem"
- Next in thread: Ray Higdon: "Re: add FK constraint with nocheck"
- Reply: Ray Higdon: "Re: add FK constraint with nocheck"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|