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
I actually figured out what my issue was. It turns out that when I defined the mapping parameters I had set the
IsExprVar
field toTRUE
. When I set it toFALSE
I was able to pass the parameters to the stored procedure when calling it in the SQL query field of the source qualifier.