sql - invalid datetime format -
i have question powercenter message code: rr-4035. have mapping in using sql override query, error in sql override. mapping failing error,
'[ibm][cli driver]clio113e sqlstate 22007:an invalid datetime format detected, invalid string representation or value specified'.
> database driver error:
function name:fetch sql stmnt:
select s.employee_record_id,s.employee_id,s.record_origin, cnt.employee_contract_id,cnt.employee_contract_efctv_dt,cnt.employee_contract_term_dt,club.employee_club employee_main_info s inner join (select employee_id,record_origin,employee_contract_term_dt,employee_contract_efctv_dt employee_perm union select employee_id,record_origin,employee_contract_term_dt,employee_contract_efctv_dt employee_temp ) cnt on s.employee_id=cnt.employee_id, employee_club_data club club.employee_id=s.employee_id , (cnt.employee_contract_efctv_dt <=sysdate or cnt.employee_contract_efctv_dt<'2016-01-01') , s.employee_record_term_dt>sysdate;
native error code= -99999
i have tried everything, previous mappings have run fine same datetime formats 1 failing. 1 thing have noticed if remove transformations in between source qualifier , target mapping succeeds , data gets loaded target, put lookups or expressions between source qualifier , target except pass through expression, mapping fails again.
any suggestion, regarding appreciated.
we've seen error occurring when selecting table timestamp column via ibm data server odbc/cli driver. happened on 1 windows machine , able make error disappear changing regional setting main selection israel usa.
while not tested yet, may ibm db2 odbc configuration option datetimestringformat or attributes sql_attr_date_fmt , sql_attr_time_fmt can used force specific format (such jis). see https://www.ibm.com/support/knowledgecenter/en/ssepgg_11.1.0/com.ibm.db2.luw.apdv.cli.doc/doc/r0011525.html
Comments
Post a Comment