Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

SQL Server ODBC error while executing the job.

$
0
0

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.


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>