Thank this author by sharing:
By Brian Knight,
For more information on sp_msforeachtable, please read the archived article.
Is there a way to insert the output from the sp_msforeachtable proc in to a table.
the query i am ...
How to avoid some tables while using msforeachtable?
the best way is to switch to your own cursor...
sp_MSforeachdb & sp_MSforeachtable
I am currently have a requirement to run some code against each table in a database and w...
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.