Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

how to avoid sort transformations Expand / Collapse
Posted Saturday, August 25, 2012 10:47 PM


Group: General Forum Members
Last Login: Friday, September 7, 2012 4:54 PM
Points: 11, Visits: 23
Can anyone tell me :- "How to export Records from a table of a database to an excel file sorted based on First Name(column name) without using SORT transformation
Post #1350090
Posted Sunday, August 26, 2012 4:39 AM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
SSIS homework?

Odd request, if I want the rows sorted, they have to be sorted somewhere...

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1350102
Posted Monday, August 27, 2012 7:18 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, December 9, 2015 10:10 AM
Points: 235, Visits: 82
Sort the records from a table using ORDER BY in OLE DB Source component before sending rows to excel spreadsheet

e.g., SELECT cols......
FROM your_table_name
ORDER BY column_name you want to order

Above statetment should be in OLE DB Source in a Data Flow Task
Post #1350371
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse