I need to use the sp_helpuser system sp to retrieve group\role info: How do I go about creating a table from the results of the sp without editing the sp itself - ie. Embed it within another sp?
You can use the SPs for datasource directly.
I think you can use following statements in your sp.
----------
create table myTempTable
(username char(10) null, groupname char(10) null,
loginname char(10) null , defdbname char(10) null,
userid char(10) null, suserid char(10) null)
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.