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

csv file problem

$
0
0

Hello all,

I've serious problem about importing .csv file. Data format of the file is like this:

H#XYZ#205#20010402#005
D#1010611947#15aY8666#144463566335585819#20010402###03#+#99#3000###20010402155408##
D#1010611948#62Ub8666#477278269231674908#20010402###03#+#99#3000###20010402160409##
D#1010611948#34cY8666#504756306418577694#20010402###03#-#99#3000###20010402160409##
D#1010611947#90pY8666#124979913890878309#20010402###03#+#99#300###20010402155948##
D#1010611947#88gY8666#383785943872857120#20010402###03#-#99#200###20010402155537##
D#1010611947#34hd8666#1023685243547859#20010402###03#+#99#1000###20010402155501##
D#1010611947#24fY8666#115190363359922637#20010402###03#+#99#3000###20010402155409##

F#ABC#205#03#20010402#001#0#0#0#0#7#73500

I want to import the ALL rows which start with "D" to a database table. My colum delimeter is "#" and row delimeter is"CRLF". Total column number is 16 on the table. Ssis package always skips the first "D" line, other"D" lines are imported to table correctly. Any advice to import first "D" line?



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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