Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

DTS is Reading Created_Date column "2007-08-20 10:46:00.710000000" as DBTYPE_STR and causing datatype mismatch with destination (DBTYPE_DBTIMESTAMP)

$
0
0

We have internal and external load Step 1 is internal load from source sql to destination flat file  and step 2 is external load from source flat file to destination sql

Step 1 :Using DTS I am extracting DateTime source Field"2007-08-20 10:46:00.710" from SQL Server

and loading into destination text file as "2007-08-20 10:46:00.710000000"

Step 2 :Using DTS when I try to load "2007-08-20 10:46:00.710000000" from text file

to SQL Server it gives the error (Source column 'CREATED_DATE(DBTYPE_STR),destination column

'CREATED_DATE(DBTYPE_DBTIMESTAMP),Cannot parse input data string beginning at "2007-08-20 10:46:00.710000000"

My question here DTS is extracting the DateTime source Field "2007-08-20 10:46:00.710000000" as string (DBTYPE_STR)

instead of DBTIMESTAMP


Viewing all articles
Browse latest Browse all 24688

Latest Images

Trending Articles



Latest Images

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