How can I do the equivalent of "SHOW TABLES" in T-SQL?
This will give you a list of the tables in the current database:
Select Table_name as "Table name"
From Information_schema.Tables
Where Table_type = 'BASE TABLE' and Objectproperty
(Object_id(Table_name), 'IsMsShipped') = 0
Some other useful T-SQL bits can be found here: http://www.devx.com/tips/Tip/28529
I know you've already accepted an answer, but why not just use the much simpler sp_tables?
sp_tables 'Database_Name'