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

Loading a varchar/datetime value from a pipe delimited file to SQL table

$
0
0

Hey all,

I have a pipe delimited file that I get, and I am trying to load it in to a SQL table. The file looks like this:

19,23,A,20130615062429

I have created my SQL table with 4 columns with int,int,char,datetime datatype respectively.

I am not sure, if the value that I am getting in file is datetime/varchar. The package runs fine when I use a varchar datatype in my table (and not datetime).

I run in to an error, If I use "datetime" as my datatype.

Any ideas/suggestions?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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