In SSIS, is it possible to sort the data without a Sort transformation?

I heard it is possible to to sort data from a data source without using a Sort Transformation.  I'm using ADO.NET Data Source.  It should have a sorting property if we use a SELECT statement with an ORDER BY, but I cannot find it anywhere.  Any idea?  Thanks.
thomaszhwangAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ValentinoVBI ConsultantCommented:
When you use the ORDER BY clause, you do indeed need to tell the source component that the incoming data is sorted.  This is done by opening up the Advanced Editor (right-click on source and select Advanced Editor), then in the Input and Output Properties, locate the IsSorted property for your "source output" and set it to True.

For each column on which you've sorted, you also need to set the SortKeyPosition.

I've explained this in more detail in one of my articles, found here: http://blog.hoegaerden.be/2010/08/26/calculating-lastxmonths-aggregations-using-t-sql-and-ssis/
(look for the "Setting up the data sources" title)

Hope you can get it to work with this info!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thomaszhwangAuthor Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.