Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Disable Foreign Key Constraints

$
0
0

Destination DB is sql2005. When export data to this db from various locations through a syncing app,  Foreign Key Constraints error occurs. This will be solved through disable enable these constraints when export data. But the problem is I am exporting data from not only one location but from various locations. So when I enable constraints for one location after complete the data exporting, at that time another location start exporting data. So Foreign Key Constraints error occurs.

How can I solve these errors or give me a solution to handle Foreign Key Constraints error ?

Viewing all articles
Browse latest Browse all 23857

Trending Articles



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