Hello All,
I'm created the SCD type 1 implementation, i have created & validated transformations successfully.
In the designer i have created the variables in script to captures the dates, dataflow and job status.
i'm creating $cdc_date=nvl(cast(sql('target',' select max($batch_end_date) from batch_control where batch_name=$batch_name and status=
\'started'\ '),'date'),cast(to_date('1900-12-01','yyyy-mm-dd'),'date'));
when validate the script i'm not getting any error message but when i'm executing job. i was prompting with SQL Sever ODBC error with $CDC_DATE.
Source is a flat file and Target is data store i.e SQL SERVER 2008.
Can any one help me out please.
Regards,
Shekar.