Question : How to lock stored procedure

Hi,
    May i know is there any method we can lock the stored procedure, even for the DBA (system administrator), where just the programmer can view the stored procedure only...

thnx,
sityee

Answer : How to lock stored procedure

The only thing I would use is to encrypt the stored procedures. This way, the developer should have the script to create/alter the stored procedures, but the proc is only in compiled form, even the sp_helptext won't be able to return the sql:

CREATE PROC yourproc
WITH ENCRYPTION
AS
...
Random Solutions  
 
programming4us programming4us