Link to home
Start Free TrialLog in
Avatar of Mark LaGrange
Mark LaGrange

asked on

How to link Excel to SQL Server View... that the spreadsheet keeps the sort order specified in the View? I see the warning message SS gives about "sorting the query of the View", but I don't see where to do that.

In the Connection Properties, I tried changing the Command Type to "SQL" and the Command Text to "SELECT MyView.*... ORDER BY MySort1, MySort2", but then SS gave me an error message about that no longer matching the odc, and it would be deleted.

Thanks in advance
Avatar of Louis LIETAER
Flag of France image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial