Truncating tables with foreign key constraints

  • What is the best way to truncate a table with many Foreign Key Constraints without deleting the relationships?  Is this possible?

    Thanks!


    Carpe diem!

  • You can disable them but only for UPDATES and INSERTS, not DELETES from what I find and BOL and have seen firsthand.

  • See the thread "Delete Large records 20 million rows!!! FAST" in this forum. It might give you some good ideas.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply