This Domain(Admin5.com) is for Sale:

SQLServer2000中怎么对数据库存储过程进行加密和解密

时间:2007-12-23  来源:不详  作者:迈克DB


>>加密
From the Books Online: Use the WITH 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
WITH ENCRYPTION
AS
SELECT *
FROM authors
GO EXEC sp_helptext encrypt_this   asp">存储过程asp?tags=数据库">数据库asp?tags=md5">md5asp?tags=加密">加密

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息