Home Forums SQL Server 2008 T-SQL (SS2K8) ORDER BY Should be same as my input in IN() RE: ORDER BY Should be same as my input in IN()
nigelrivett
SSCertifiable
Points: 5362
More actions
December 11, 2012 at 7:00 am
#1567425
Maybe dynamic sql for the order by
A cte with union all for each value might do it.
Cursors never.DTS - only when needed and never to control.