Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referring to User Created Stored Procedures

Status
Not open for further replies.

AccessSQLUser

Programmer
Apr 23, 2001
101
US
If I wanted to get a list of stored procedures, excluding the system ones, how would I do this?
 
I can't find documentation to confirm this but it appears that system procedures have status < 0 and category = 2. To identify user procedures you could query sysobjects as follows.

Select Name, Satus, Category
From sysobjects Where status>=0


NOTE: All system tables are subject to change and the query may not work in future releases. Terry
 
You might want to add &quot;type = p&quot; to select stored procedure only...

Select Name, Status, Category
From sysobjects Where status>=0 and
Type = 'P'
Andel
andelbarroga@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top