WEB开发网
开发学院数据库MSSQL Server sql server2000中怎么对存储过程进行加密和解密 阅读

sql server2000中怎么对存储过程进行加密和解密

 2007-11-11 10:54:25 来源:WEB开发网   
核心提示: >>加密From the Books Online:Use the W99vH ENCRYPTION option:IF EXISTS (SELECT name FROM sysobjects WHERE name = 'encryp


   
>>加密
From the Books Online:

Use the W99vH ENCRYPTION option:

IF EXISTS (SELECT name FROM sysobjects
WHERE name = 'encrypt_this' AND type = 'P')
DROP PROCEDURE encrypt_this
GO
USE pubs
GO
CREATE PROCEDURE encrypt_this
W99vH ENCRYPTION
AS
SELECT *
FROM authors
GO

EXEC sp_helptext encrypt_this

Tags:sql server 怎么

编辑录入:coldstar [复制链接] [打 印]
赞助商链接