Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Reg sp_helptext

Author  Topic 

venkat.v
Starting Member

4 Posts

Posted - 2009-10-15 : 06:30:27
Hi all,
i need a help reg sp_helptext.when we use the sp_helptext command we wiill be getting only the procedure containg the logic we have written. bt i need to get even the grant permissions also from the procedure.for ex i need a command to retreive the procedure along with grant permissions like


create procedure test
{
----
}

GRANT SELECT ON [dbo].[table name]TO [web]
GO

Please help me out in this issue.would be really helpful.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-10-15 : 09:51:06
why dont you write a custom procedure for this? why do you want to replace system sps?
Go to Top of Page
   

- Advertisement -