Mrdenny
46795 pts. | Feb 8 2008 7:42PM GMT
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.



SELECT *
FROM sysobjects
WHERE xtype = 'U'
and name <> 'dtproperties' /*This table is used for the database diagrams, so you don't want to delete it.*/
SELECT *
FROM sysobjects
WHERE Xtype = 'V'
SELECT *
FROM sysobjects
WHERE xtype = 'P'
SELECT *
FROM sys.tables
SELECT *
FROM sys.views
SELECT *
FROM sys.procedures


Mrdenny
46795 pts. | Feb 8 2008 7:42PM GMT
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.
