Ask a questionAsk a question
 

AnswerENCRYPTION .......Procedure

  • Thursday, October 29, 2009 7:08 AMSaju K Sebastian Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    CREATE PROCEDURE spEmp
    WITH ENCRYPTION
    AS
    BEGIN
        SELECT 'EmpNameKen'
    END

     

    sp_helptext spEmp


    The text for object 'spEmp' is encrypted

    My issue is how can we view(retrive) procedure text for alter purpose


    thanx in advance

    saju

Answers

  • Thursday, October 29, 2009 7:56 AMLekssAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Apparently, whoever wrote the code didn't want others to read the code.I suggest that you contact the developer / vendor who supplied the stored procedure code and request them a copy of the code.

     

     


    Thanks, Leks
    • Marked As Answer byLekssAnswererSaturday, October 31, 2009 7:36 PM
    •  

All Replies

  • Thursday, October 29, 2009 7:56 AMLekssAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Apparently, whoever wrote the code didn't want others to read the code.I suggest that you contact the developer / vendor who supplied the stored procedure code and request them a copy of the code.

     

     


    Thanks, Leks
    • Marked As Answer byLekssAnswererSaturday, October 31, 2009 7:36 PM
    •  
  • Thursday, October 29, 2009 10:26 AMSean Gallardy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When you specify the WITH ENCRYPTION option, it is not possible to get the text of that procedure back through any normal means. As Lekss said, you will have to ask whoever wrote it or the company that provided it for the actual code.