有一个存储过程,如下所示:
create procedure [dbo].[spm_report_2]
AS
begin try
select Temptable.ID, count(*) As CountField
from (
select Eductionals.UserID , Max(Eductionals.DegreeID) As ID
from Eductionals
group by Eductionals.UserID
) Temptable
inner join DegreeStep ON Temptable.ID = DegreeStep.ID
group by Temptable.ID
end try
并显示以下输出:
我将此存储过程添加到了Stimulusof报告文件中。现在,我想插入Stimulsoft Report类型的变量中。例如:
我已将存储过程添加到报告文件中,但它仅显示第一行(这意味着ID = 1
,CountField = 2
)。如何生成顶部输出?
答案 0 :(得分:1)
不幸的是,我认为SP不具备此功能。
在StimulSoft中使用DataBand