Tuesday, January 26, 2010

SQL SERVER – 2005 List All Tables of Database

USE YourDBName
GO

SELECT
*
FROM sys.Tables
GO

This will return all the tables in the database which user have created.


http://blog.sqlauthority.com/2007/06/26/sql-server-2005-list-all-tables-of-database/

No comments:

Post a Comment