Chris Nizzardini, Salt Lake City Utah, Web Developer Specializing in LAMP+Ajax Since 2006

My Blog

Here is my awesome blog.

ms sql show all tables in a database

In MS SQL use the following SQL to show all tables in the selected database.

1
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE';

Hmmm… I think I like the MySQL way:

1
SHOW ALL TABLES;

Leave a Reply