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 t...
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 wa...