由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Decrypting Datasources in SSRS
相关主题
decrypt data,求大神提示A question about recursive query
Questions on SQL这题目啥意思啊?
PB SQL语句的简单问题Database encryption 一问
SQL question HELPSQL 200x Decrypt credential info?
Question on relational calculusSQL SERVER moving certificate and symmetric keys between servers
help! A bug about date type !请问Reporting Service System (RSS) 客户安装
help: question on oracle sys_context()今天才发现 Oracle Application Express 很牛
Re: help: question on oracle sys_context(). more confused :(外行请教
相关话题的讨论汇总
话题: ssrs话题: ssn话题: decrypting话题: convert
进入Database版参与讨论
1 (共1页)
w****n
发帖数: 266
1
数据库里的email和SSN加密了,在SSRS里怎么解密,还原数据?
这个是我在shared dataset里的 SQL 语句, 出来的report里SSN还是显示Error
Use xxxx
GO
OPEN SYMMETRIC KEY Generickey DECRYPTION BY CERTIFICATE EncryptCert
GO
SELECT LName,
FName,
Convert(nvarchar(256),Convert(varbinary(256),DECRYPTBYKEY([SSN]))) as SSN
FROM table
w****n
发帖数: 266
2
解决了,提取 shared dataset的SQL语句改为:
OPEN SYMMETRIC KEY xxxKey DECRYPTION BY CERTIFICATE xxxCert;
SELECT CONVERT(VARCHAR(50),DECRYPTBYKEY(EncryptSSN)) AS DecryptSSN
FROM table
1 (共1页)
进入Database版参与讨论
相关主题
外行请教Question on relational calculus
有人准备SQL Server 2008的考试吗?help! A bug about date type !
太tm郁闷了。help: question on oracle sys_context()
大家都很忙吗?Re: help: question on oracle sys_context(). more confused :(
decrypt data,求大神提示A question about recursive query
Questions on SQL这题目啥意思啊?
PB SQL语句的简单问题Database encryption 一问
SQL question HELPSQL 200x Decrypt credential info?
相关话题的讨论汇总
话题: ssrs话题: ssn话题: decrypting话题: convert