I need to import some records into a table via SQL. I need to make sure the records are created in order by date. The reasons or crazy, but it has to do with data varification in a later process. I want the PK order to mirror the date field order.
The question is, "Will SQL sort my dates in sequence?" Here is the code I am using.
Code:
db.OpenRecordset("SELECT UpdateNew, UserID, TransactionDate " _
& "FROM tblFasTrakHistory " _
& "WHERE UpdateNew = 0 AND UserID = 0 " _
& "ORDER BY TransactionDate;", dbOpenDynaset)