I have a .dat file that Iam accessing using unix / SQL:
File format is:
Row 1 Row2 Row3 Row4
x y w d
x t w d
x y w 5
I need to swap the data in row4 and row1 with each other .. the fields are defined as digits but of different lengths in the table.
what I can't figure out is how to swap the rows around in the .dat file?
Any idea Guys / Girls?? thnx in advance
File format is:
Row 1 Row2 Row3 Row4
x y w d
x t w d
x y w 5
I need to swap the data in row4 and row1 with each other .. the fields are defined as digits but of different lengths in the table.
what I can't figure out is how to swap the rows around in the .dat file?
Any idea Guys / Girls?? thnx in advance