All of the code samples have now been consolidated and moved to my blog at Many google searches still point here so I am leaving this blog operational.

Sunday, May 18, 2008

MSSQL drop and re-add constraints

One of the guys at work hooked me up with this code - quite useful if you want to do a bunch of data inserts but don't want to worry about the order you apply the inserts because of foreign key constraints

Before performing data actions:

After performing data actions:

Thanks to ET for this code bit!

No comments:

Custom Search
< ... back