.NET数据库项目和加密过程

时间:2016-05-31 21:07:50

标签: .net sql-server database stored-procedures encryption

有没有办法使用数据库项目并拥有加密存储过程

我需要加密存储过程,如下所示:

CREATE PROCEDURE [dbo].[test]
WITH ENCRYPTION
AS
    SELECT 1

但是当我使用加密存储过程进行Schema与DB的比较时,它会显示我:

CREATE PROCEDURE [dbo].[test]
WITH ENCRYPTION
AS
BEGIN
--The script body was encrypted and cannot be reproduced here.
    RETURN
END
GO

0 个答案:

没有答案