Avatar of Mark LaGrange
Mark LaGrange
 asked on

How to link Excel to SQL Server View...

...so 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
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.