Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.dat file row swap

Status
Not open for further replies.

Lahorem

Programmer
Feb 17, 2006
18
GB
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
 
It doesn't look like you are using SQL Server for your database. So you should post this in the proper forum.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top