Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from test to production - identify seed question
Message
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00659937
Message ID:
00660534
Views:
15
System proc in master db

>Glad that worked for you. Is sp_msforeachtable a sproc of your own, or is that a system sproc?
>
>>I ended-up dropping all constraints, then re-establishing them:
>>
>>
>>
>>Print 'Disabling all Constraints'
>>GO
>>sp_msforeachtable "ALTER TABLE ? NOCHECK CONSTRAINT ALL"
>>GO
>>
>>-- code to delete records
>>
>>Print 'Enabling all Constraints'
>>GO
>>sp_msforeachtable "ALTER TABLE ? CHECK CONSTRAINT ALL"
>>GO
Al Williams

Anola MB, CANADA
Previous
Reply
Map
View

Click here to load this message in the networking platform