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

Flat File(CSV) to Table - Issue with Date

$
0
0

Hello,

Hope somebody can shed some light on an issue i'm having importing some data from a flat file to a SQL table.

I'm building a SSIS package that imports data to A SQL table from a flat file .csv file.

In the flat file I have column LastModifiedDate and an example of the data is as follows.

"2013-07-17 09:52:02"

"2013-06-30 00:42:16"

"2013-06-29 23:29:07"

I'm importing it to a datetime data type.

I'm getting the following error:

[Flat File Source [2]] Error: Data conversion failed. 
The data conversion for column "LastActivityDate" returned status value 2 and status text "The value could not be converted because of a potential loss of data.".

Any help would be great ?


Viewing all articles
Browse latest Browse all 24688


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