sp_MSforeachtable and sp_MSforeachdb

two undocumented Stored Procedures that allow you to process through all tables in a database, or all databases in a SQL Server instance


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.