Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql 在SSRS报告中的显示JSON中添加过滤器_Sql_Xml_Reporting Services - Fatal编程技术网

Sql 在SSRS报告中的显示JSON中添加过滤器

Sql 在SSRS报告中的显示JSON中添加过滤器,sql,xml,reporting-services,Sql,Xml,Reporting Services,我有一个JSON格式的列,我试图在SSRS中以可读的格式显示,我使用了下面的XML查询,结果非常好,但问题是我需要过滤数据,因为它检索JSON列中的一些值,如访问令牌和密码,为了安全起见,我需要删除它,所以我如何才能做到这一点? 非常感谢你的帮助 结果是: 这是我用来将JSON列的格式更改为更可读格式的xml查询: 选择OldValue=replaceB.RetVal', 来自AuditLogEditV2 交叉应用 通过选择null,选择RetSeq=订单上的行数 ,RetVal=LTrimR

我有一个JSON格式的列,我试图在SSRS中以可读的格式显示,我使用了下面的XML查询,结果非常好,但问题是我需要过滤数据,因为它检索JSON列中的一些值,如访问令牌和密码,为了安全起见,我需要删除它,所以我如何才能做到这一点? 非常感谢你的帮助

结果是:

这是我用来将JSON列的格式更改为更可读格式的xml查询:

选择OldValue=replaceB.RetVal', 来自AuditLogEditV2

交叉应用 通过选择null,选择RetSeq=订单上的行数 ,RetVal=LTrimRTrimB.i.value'/text',nvarcharmax' 从Select x=Cast+replaceSelect replaceAuditLogEditV2.Aud_OLDValues,',','§§Split§' as[*]表示XML路径,§§Split§',+表示XML.query.。'表示X 交叉应用x.nodes'x'作为Bi
B

为什么不将JSON内容加载到临时表或类似表中,然后执行所有需要执行的过滤和操作?