all groups > sql server dts > march 2007 >
You're in the

sql server dts

group:

Order of rows imported


Order of rows imported SteveH
3/29/2007 10:04:00 PM
sql server dts:
If I use DTS to import a text file into a table that has an identity column
and then queried the table and ordered by the identity column, am I
guaranteed to get the rows back in the same order they appeared in my import
file.

I have tested this with a small file and it did, but not sure if it is just
a coincidence.

Thanks in advance
Steve

Re: Order of rows imported Russell Fields
3/30/2007 12:00:00 AM
Steve,

Since the import of a text file will have a defined order, from the first
row to the last, then the identity column will increment with each row.
Your ordering should be fine.

RLF
[quoted text, click to view]

Re: Order of rows imported SteveH
4/2/2007 8:58:02 PM
Thanks Russell, appreciate your reply.

Regards
Steve

[quoted text, click to view]
AddThis Social Bookmark Button