在stimulsoft中找不到存储过程

时间:2018-10-06 09:55:12

标签: stored-procedures stimulsoft

我在Stimulsoft报告中收到此错误:

  

找不到存储过程'Execute FilterBookByDate @ BankId,@ Date1,@ Date2'

这是我的SQL过程:

ALTER PROCEDURE [dbo].[FilterBookByDate]
    @BankId INT,
    @Date1 NVARCHAR(10),
    @Date2 NVARCHAR(10)
AS
BEGIN 
    SELECT *
    FROM Book
    WHERE BankId = @BankId
      AND BookDate >= @Date1
      AND BookDate <= @Date2         
    ORDER BY BookDate DESC, BankId DESC       
END

enter image description here

0 个答案:

没有答案