Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Script to create & drop all keys & constraints in truncating & importing data?

$
0
0

Hello, need to restore truncate & import data to a bunch of tables but realize all of the keys & constraints need to be dropped first & then recreated after. Can anyone point or provide me with scripts that will create & drop them in the correct order factoring foreign keys references?

Thanks in advance.


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>