I am using an ODBC Stage to access a SQL Server 2000 Database and updates rows on a table.
The option is "Update existing rows only".
My Job had no problem but i added a column in the ODBC stage and now, There's an error on the SQLPrepare Select which determines if the rows exist or not. The select query is generated but there is no space between the last colmun I added and the FROM close.
Does anyone have an idea about why there is such a problem on a generated query ?
Code: Select all
SELECT COL1, COL2, COL3FROM TABLE
SQLSTATE=S0022, DBMS.CODE=207
[DataStage][SQL Client][ODBC][Microsoft][ODBC SQL Server Driver][SQL Server]'COL1' : incorrect column name
SQLSTATE=S0022, DBMS.CODE=207
[DataStage][SQL Client][ODBC][Microsoft][ODBC SQL Server Driver][SQL Server]'COL2' : incorrect column name
SQLSTATE=S0022, DBMS.CODE=207
[DataStage][SQL Client][ODBC][Microsoft][ODBC SQL Server Driver][SQL Server]'COL3FROM' : incorrect column name