我在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