User defined sql in DB2 API Stage
Posted: Wed Mar 12, 2008 1:34 am
Hi,
I am using the DB2 API stage for writing a user - defined SQL that will insert some values into the table using a left outer join between two tables. But when I am doing so, I am getting an error :-
"This SQL statement did not contain the same number of parameters as columns on this link. This usually happens with user-defined SQL."
Since the API stage cannot run on its own, so I am using a row generator and connecting it to the API stage.
The DB2 Database is a remote v 8.2 database.
Please help.
Thanks in Advance
Peeyush Anand
I am using the DB2 API stage for writing a user - defined SQL that will insert some values into the table using a left outer join between two tables. But when I am doing so, I am getting an error :-
"This SQL statement did not contain the same number of parameters as columns on this link. This usually happens with user-defined SQL."
Since the API stage cannot run on its own, so I am using a row generator and connecting it to the API stage.
The DB2 Database is a remote v 8.2 database.
Please help.
Thanks in Advance
Peeyush Anand