No fields for dynamic SQL stored procedure in SSRS with SET FMTONLY

前端 未结 7 1698
栀梦
栀梦 2020-12-17 15:00

I have the following SP which works correctly when ran on its own:

USE [Orders]
GO
SET FMTONLY OFF; 

CREATE PROCEDURE [dbo].[Get_Details_by_Type]

@isArchiv         


        
相关标签:
7条回答
  • 2020-12-17 15:50

    This is a very late addition, but for those of us new to SSRS/Report design: Remember to check the order of the parameters within the Report Data pane in Visual Studio. They will be created top to bottom, so a parameter on top cannot depend on a parameter on bottom. This was an issue I had with one report but the error message I received did not state that, so I chased my tail for hours trying to resolve it.

    0 讨论(0)
提交回复
热议问题