Has anyone created SSRS reports for Teradata?

  • 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.

    ...

  • 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.

  • 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.

    ...

  • 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!

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply