sql server 数据加密

select EncryptByPassPhrase('hksjlm',qlrmc)jmsj,* into jmqlr from qlr where qlbh in('5201411120005','5201411180005')
select * from jmqlr
select CAST(DecryptByPassPhrase('hksjlm',jmsj) as varchar(max)) as result,* from jmqlr

最后两条数据的执行结果

 

posted on 2014-11-18 15:31  MyBeN  阅读(155)  评论(0编辑  收藏  举报

导航