SQL Server : Encrypt / Protect stored procedure

后端 未结 2 1964
梦谈多话
梦谈多话 2021-01-28 06:42

I am just wondering any good tools or software that you can recommend me to protect / encrypt my stored procedure that was developed on SQL Server 2008 R2 ?

I read about

2条回答
  •  后悔当初
    2021-01-28 07:19

    Can't you use WITH ENCRYPTION? For example

    CREATE PROCEDURE #EncryptSP
    WITH ENCRYPTION
    AS
    SELECT TOP 10 City
    FROM Person.Address
    GO
    

    https://msdn.microsoft.com/en-gb/library/ms187926%28v=sql.105%29.aspx

提交回复
热议问题