Ordering Integration Services Packages in Management Studio
Call me picky but it bugs me when things aren't in
order. The SQL team seem to be really bad at this particular annoyance. They
seem unable to put things in a nice order.
If you are loking at packages in Management Studio then you will find the
packages in totally random order, why is that you. Well they haven't put an
ORDER BY on the query that lists the packages, and we all know that without and
ORDER BY there is not guarantee of the order of the results.
To fix this you can hack one of the system stored procs. sp_dts_listpackages
This package is found in msdb it is classed as a system procedure and so is
in the system procedures folder (if looking in object explorer).
If you change it to
ALTER PROCEDURE [dbo].[sp_dts_listpackages]
[folderid] = @folderid
ORDER BY name
You will get your packages ordered nicely by name.