• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data Connection Error with Functioning SQL

Renee Beacham

New Member
Hello,

I receive the following error when attempting to create a pivot table via a SQL connection:

"The query did not run or the database could not be opened."

However the query I'm attempting to run functions in SSMS and returns rows.

Has anyone experienced this or has any idea as to why a query that functions in SSMS would not function in an Excel workbook connected to the same database? I've not had this issue before when creating pivot tables from this database in Excel.

-Renee
 

Attachments

  • connectionerror.JPG
    connectionerror.JPG
    60.1 KB · Views: 4
Back
Top