For starters
select * from sysobjects where type = 'P'
will give you all the SP's in the DB
Then I belive you can add to the where clause
..and uid in (0,1)
These are the UID's from the SysUsers table
0=public
1=DBO
That will give the owner of the SP not the users who have been granted execute permissions.
See sysprotects for the permissions.
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.