In an SSIS package, I have a data flow task that contains an OLE DB Source and an OLE DB Destination.
The OLE DB Source is set to SQL command and has a query similar to the following:
SELECT *
FROM SomeTable
ORDER BY Col1, Col2
Will the insertion of the records to the destination table follow the result of the order by?
I am asking because there is an identity column in the destination table which will be used as the order of the records.
EDIT: This question pertains to SSIS, specifically if the result set in the OLE DB source is passed to the OLE DB Destination in the same order and inserted in the same order as well. The order is relevant since the destination table has an identity column that would be used in queries as the records' order.