What is the best way to get the names of all of the tables in a specific database on SQL Server?
SELECT sobjects.name FROM sysobjects sobjects WHERE sobjects.xtype = 'U'