Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Has anyone created SSRS reports for Teradata?


Has anyone created SSRS reports for Teradata?

Author
Message
Edward Mlynar
Edward Mlynar
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 245
Has anyone tried to create SSRS reports using Teradata as the data source? If so, how do you send parameters? No matter what we try, we keep getting the "there is a mismatch between the number of parameters specified and the number of parameters required" error even though we are just using one parameter against a view.

...
davoscollective
davoscollective
SSChasing Mays
SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)

Group: General Forum Members
Points: 605 Visits: 1000
What sort of datasource connection are you using? TERADATA or odbc?

With ODBC you can just use a single question mark in place of parameters in the query.

I've not connected to TERADATA before but I know different databases use different syntax. For example Oracle uses
:parameter

it might be something like that
?parameter

SSRS might try to create this in the query
@parameter

and then the datasource would not recognise that as a parameter at all. It would think you've defined a parameter in the dataset properties, yet not provided one to the data-connector hence the error message about a mismatch of number of parameters.
Edward Mlynar
Edward Mlynar
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 245
We are using ODBC. Tried using the TERADATA connection but couldn't get it to work. I don't think I'm using the right connection string, but I've tried about 9000 variations of it.

Yesterday I was using a ? for the parameter and it wasn't working. Today I put it into the query and it created a "Parameter1" parameter and it works. Dunno what the heck I changed.

...
davoscollective
davoscollective
SSChasing Mays
SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)SSChasing Mays (605 reputation)

Group: General Forum Members
Points: 605 Visits: 1000
I always found this site useful for whacky connection string help:
http://www.connectionstrings.com/teradata

The annoying part about those "?" parameters is that if you have lots of them you can't easily see which parameter they map to in your SSRS parameter list which makes it easy to make a mistake and hard to debug. At least They work in order!

I know what you did, you fell back on that failsafe way of getting rid of IT gremlins, turn it off and on again!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search