Tuesday, September 25, 2012

List of Sql Server Tables, Function,Stored Procedure and views.


Information about table
SELECT * FROM sys.sysobjects WHERE xtype = 'U' order by crdate asc

Information about Stored Procedure
SELECT * FROM sys.sysobjects WHERE xtype = 'P' and name like 'B2B_GetSD%' order by crdate desc

Information about Functions
SELECT * FROM sys.sysobjects WHERE xtype = 'FN' order by crdate desc

Information about Views
SELECT * FROM sys.sysobjects WHERE xtype = 'V' order by crdate desc

No comments:

Post a Comment