How to print the names and owners of all the tables in the sql server database

print the names and owners of all the tables in the sql server database

Solution

EXEC sp_MSforeachtable @command1 = “PRINT ’?’”

About the Author

avatar