I am reading a table that has multiple formats in it. It was imported as a text file which originated on our mainframe as a report file and I need to extract data from it to be used in SQL Server.
The data looks like this:
row1: dept 1 tran 020
row2: dept 1 tran 020
row3: totaltrans 001245
I need to get a single row that looks like:
row: dept 1 tran 020 total 001245
I've been able to narrow it down to row1 and row3, but don't know how to combine them into a single row since there is no common field value to match on.
Thanks in advance for your help.
The data looks like this:
row1: dept 1 tran 020
row2: dept 1 tran 020
row3: totaltrans 001245
I need to get a single row that looks like:
row: dept 1 tran 020 total 001245
I've been able to narrow it down to row1 and row3, but don't know how to combine them into a single row since there is no common field value to match on.
Thanks in advance for your help.