SSRS : [Teradata Database] 3939 There is a mismatch between the number of parameters specified and the number of parameters required.
Error : [Teradata Database] 3939 There is a mismatch between the number of parameters specified and the number of parameters required.
When we get this Error : when we are creating SSRS reports on Teradata database and in which when we are using parameters in the dataset in wrong style\format.
Just for Info : to connect Terdata we need to have .Net Data provider for Terdata when we installed this on our machine Then we are able to see Teradata data source type in SSRS.
How to Solve this issue : This error will come if we are not using correct syntax to create parameterized data set . The correct way is we need to ? for parameter
The report parameters can be named or unnamed.
Teradata only supports unnamed parameters. An unnamed parameter is denoted by a ‘?’, and is merely a placeholder for data that is going to be entered at report processing time. For example, the following is a dataset with a single-value unnamed query parameter:
Select * from Table where column = ?;
For a multi-value parameter use an IN clause with ‘(?)’, the end-user has the option to select from a list of available values.
The following query uses a multi-value parameter:
Select * fromTable where column in (?);
When we get this Error : when we are creating SSRS reports on Teradata database and in which when we are using parameters in the dataset in wrong style\format.
Just for Info : to connect Terdata we need to have .Net Data provider for Terdata when we installed this on our machine Then we are able to see Teradata data source type in SSRS.
How to Solve this issue : This error will come if we are not using correct syntax to create parameterized data set . The correct way is we need to ? for parameter
The report parameters can be named or unnamed.
Teradata only supports unnamed parameters. An unnamed parameter is denoted by a ‘?’, and is merely a placeholder for data that is going to be entered at report processing time. For example, the following is a dataset with a single-value unnamed query parameter:
Select * from Table where column = ?;
For a multi-value parameter use an IN clause with ‘(?)’, the end-user has the option to select from a list of available values.
The following query uses a multi-value parameter:
Select * fromTable where column in (?);
Comments
Post a Comment