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
最后两条数据的执行结果
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
最后两条数据的执行结果