问题描述
大家好。
我需要使用SQL Server 2014显示数据库中大量数据的报告。
我一直在寻找一种方法我从第一个存储过程中检索的相同数据,并按下一个参数对其进行过滤。
愚蠢的例子:
age       1         2       3
name     A         B       C
姓氏 X         Y       Z
我需要过滤第一个年龄= 1,然后名字= A,最后一个姓氏= X但是此刻我需要在相同的初始大数据上执行3个SP。 / p>
Hi everybody.
I need to display a report from a large amount of data in my DB using SQL Server 2014 .
I also need to filter my result by 3-4 parameters in cascade but, due to the quantity of rows and calculations, it's really slow.
I was looking for a way to use the same data I retrieve from the first stored procedure and filter it by the next parameters.
stupid example:
age 1 2 3
name A B C
surname X Y Z
I need to filter first age=1, then name=A, last surname=X but at the moment I need to execute 3 SP on the same initial big data.
这篇关于SSRS级联参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!