question

LorendaChristensen-3705 avatar image
0 Votes"
LorendaChristensen-3705 asked LorendaChristensen-3705 edited

Using OPENQUERY from SQLServier in Excel Microsoft Query

I have a SQL query to a linked server that works fine in SQLServerManagementStudio, and I'd like to add this query to a refreshable Excel file. Usually, I am able to (in Excel) go to Data>GetExternalData>FromOtherSources>From Microsoft Query, and then copy/paste my SQL statement into the SQL free form field.

However, this does not seem to work for an OPENQUERY statement to a linked server. Are there any workarounds to this?

office-scripts-excel-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers