-->

Using mapping parameter in an Informatica stored p

2019-06-06 14:13发布

问题:

I am using a stored procedure as a source in my Informatica mapping, and I have defined the SQL query in the source qualifier as

exec dbo.GET_ATTRIBUTES($$fromDate, $$toDate)

where $$fromDate and $$toDate are mapping parameters I have defined in a parameter file. I have tried a number of different ways of going about this and none seem to work, as the SQL query fails to validate.

So, my question boils down to this, is there a way to call a stored procedure while passing in two mapping parameters?

Thanks in advance

回答1:

I actually figured out what my issue was. It turns out that when I defined the mapping parameters I had set the IsExprVar field to TRUE. When I set it to FALSE I was able to pass the parameters to the stored procedure when calling it in the SQL query field of the source qualifier.