Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Use a parameter in a query

$
0
0

Hello,

I'm looking for a simple solution but I can't resolve it with Googling and reading some related topics.

I've the following situation:

Printscreen

And I want to use the parameter CalculatedYear in this query. So I make this parameter on the 'Parameter Mapping' tab like this:

Printscreen2

But when I execute the package or task it comes with this error:

failed with the following error: "Syntax error, permission violation, or other nonspecific error". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

How can I resolve this?


Viewing all articles
Browse latest Browse all 24688

Trending Articles