The undocumented sp_MSforeachtable procedure(weblogs.sqlteam.com)
submitted by
kprernn(1445) 4 years, 7 months ago
This posting demonstrates how to use the undocumented sp_MSforeachtable stored procedure in the SQL Server master database to execute a SQL script against each table in the database. Great for disabling check constraints before loading data.
|category: Database
|Views: 29
tags:
TSQL SqlServer2005 Database SQLServer another
Everyones tags:
Your Tags: