Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Order by not working

$
0
0

Good Morning Friends,

I'm just running a package that loads data from the source into destination. The requirement is the load should be sorted. I'm using sql command and doing ORDER BY. I went to the advance editor and changed the IsSortable property to TRUE, made the column sort key position 1. When i build the query it works fine. When i load the data into the destination table its sorting by the PRIMARY KEY (AdmissionRate_id). Any ideas what is wrong?

SELECT     AdmissionRate_ID, FacilityHoursType,  Rate
FROM         MYTABLE

ORDER BY FacilityHoursType ASC, Rate DESC


SV


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>