Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Broken Lines in the raw file

$
0
0

I have a pipe delimited file where the data is broken down to next rows. The number of columns are 10, and the pipe count is 9.

Below the broken data -

 

JE_HEADER_ID INT|DESCRIPTION NVARCHAR(1000)|JE_LINE_NUM INT|CODE_COMBINATION_ID INT|ACCOUNTED_DR NUMERIC(30,4)|ACCOUNTED_CR NUMERIC(30,4)|ENTERED_DR NUMERIC(30,4)|ENTERED_CR NUMERIC(30,4)|CREATED_BY INT|STATUS
32775865|Journal Import Created|14962|8769964||32.33||32.33|1141|P
32775865|A6714467
|14966|8769964||36.27||36.27|1141|P
32775865|Journal Import Created|14967|8769964||37.01||37.01|1141|P
32775865|A6198486
|14972|8769964||42.04||42.04|1141|P
32775865|Journal Import Created|14969|
8769964||38.42||38.42|1141|
P

 

My final output should be as below -

 

32775865|Journal Import Created|14962|8769964||32.33||32.33|1141|P
32775865|A6714467|14966|8769964||36.27||36.27|1141|P
32775865|Journal Import Created|14967|8769964||37.01||37.01|1141|P
32775865|A6198486|14972|8769964||42.04||42.04|1141|P
32775865|Journal Import Created|14969|8769964||38.42||38.42|1141|P

 

Best Regards,

Cheruku


Viewing all articles
Browse latest Browse all 4999

Trending Articles