[QODBC-Desktop] Troubleshooting - Cannot use alias in MS Query
Posted by Jack - QODBC Support on 02 March 2015 11:54 AM
|
|
Troubleshooting - Cannot use alias in MS QueryProblem Description: I am getting the below error message when trying to SELECT data fields AS Alias, the statement runs fine otherwise.
Solutions: MS Excel has some issue when you alias in the query. When you try to use Microsoft Query to return data from some third-party databases into Microsoft Excel, apostrophes (') around alias names can cause the query to fail. Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab. Please refer to Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query. The result after changing registry values & execute the query again: | |
|