What is the best way to get the names of all of the tables in a specific database on SQL Server?
Using SELECT * FROM INFORMATION_SCHEMA.COLUMNS also shows you all tables and related columns.
SELECT * FROM INFORMATION_SCHEMA.COLUMNS