How to import a text file w/t changing row order
When I import a flat text file onto MS SQL Server through Data transformation Service, sometimes the order of rows in the table is the same as that of the text file, sometimes it's not, even if I did the exactly the same thing. That's really weird.
The bottom line is that I want to keep the original order of rows because I lost the identities of the records and need to merge two files based on the row order.
Can anyone help me on this? Thanks!
|