Encrypted Stored Procedures

  • Hi Friends,

    Can you please get the query to list all the Encrypted Stored Procedures in an database

    Thanks In Advance

  • Query sys.procedures and use the OBJECTPROPERTY function with the 'IsEncrypted' property.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks gail for ypur help

  • select b.name from sys.syscomments a join sys.objects b

    on a.id=b.object_id and a.text <> '' and b.type_desc in ( 'SQL_STORED_PROCEDURE','SQL_SCALAR_FUNCTION')

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply