I have an Execute SQL Task placed before a Foreach Loop Container so that for every row returned by the Full Result Set a Script Tasks Inserts this into an Excel row.
However, on one particular column I would like to sort the Full Result Set in ASC order before iterating though each row so that I can have the Full Result Set in a particular order.
I've tried using the Order By Clause in the SQL Script inside the Execute SQL Task but it doesn't sort as expected.
Is there a way I can sort the query results in the Result Set object in order by a single column before passing onto another process i.e. the Script Task?