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 ?