January 4, 2010 at 5:23 pm
Hi,
The flatfile data order was changed when imported to the table through dataflow task.Would like to know what is the reason for this scenario,but didn't happened same for other file imports
Thanks
January 4, 2010 at 7:05 pm
When you say the order was changed, did you mean that a select from the table returns the rows in a different sequence than they were in the flatfile? If so, the answer is simply that a SQL Server table has NO GUARANTEE OF ORDER for a query without using the ORDER BY clause. Although, especially with smaller tables, you may often see data returned in the same sequences as it was inserted, there is no implicit order.
If you want the data returned from SQL Server in a particular order, specify it with ORDER BY.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy