Hello all,
I just experienced an incompatibility, if not a bug, with Office 2013 on Windows 7. The problem is related to Office 2013 Microsoft Query 15.0.4420.1017 (32-bit).
In Office 2013 Excel I do the following:
Data
-> Get External
-> from other sources
-> from MS Query -> Choose Data Source
-> Queries
-> Browse ...
-> open one of my .dqy queries Open
=> error message 37000I created an ODBC trace file where the problem is obvious: The SQL statement is truncated to 255 characters, causing a syntax error on the ODBC backend (here, this is a proprietary ODBC driver, but this should not matter). See below.
Is this the right place to report that problem?
Thanks,
RolandMSQRY32 9c8-4e4 ENTER SQLPrepare HSTMT 0x024F5C48 UCHAR * 0x009D5A48 [ 237] "SELECT customers.CUSTOMER_NAME, INVOICES.CUSTOMER_NO, Sum(INVOICES.AMOUNT) , INVOICES.|DESC| FROM toydb.customers customers, TOYDB.INVOICES INVOICES WHERE customers.CUSTOMER_NO = INVOICES.CUSTOMER_NO GROUP BY INVOICES.CUSTOMER_NO ORD" SDWORD 237 MSQRY32 9c8-4e4 EXIT SQLPrepare with return code -1 (SQL_ERROR) HSTMT 0x024F5C48 UCHAR * 0x009D5A48 [ 237] "SELECT customers.CUSTOMER_NAME, INVOICES.CUSTOMER_NO, Sum(INVOICES.AMOUNT) , INVOICES.|DESC| FROM toydb.customers customers, TOYDB.INVOICES INVOICES WHERE customers.CUSTOMER_NO = INVOICES.CUSTOMER_NO GROUP BY INVOICES.CUSTOMER_NO ORD" SDWORD 237 DIAG [37000] [Marxmeier][SQL/R ODBC Server]37000 - unexpected symbol (#1) syntax error near "ORD" Unexpected symbol or invalid SQL/R language statement. (-1) MSQRY32 9c8-4e4 ENTER SQLExecDirect HSTMT 0x024F5C48 UCHAR * 0x009D5A48 [ 237] "SELECT customers.CUSTOMER_NAME, INVOICES.CUSTOMER_NO, Sum(INVOICES.AMOUNT) , INVOICES.|DESC| FROM toydb.customers customers, TOYDB.INVOICES INVOICES WHERE customers.CUSTOMER_NO = INVOICES.CUSTOMER_NO GROUP BY INVOICES.CUSTOMER_NO ORD" SDWORD 237 MSQRY32 9c8-4e4 EXIT SQLExecDirect with return code -1 (SQL_ERROR) HSTMT 0x024F5C48 UCHAR * 0x009D5A48 [ 237] "SELECT customers.CUSTOMER_NAME, INVOICES.CUSTOMER_NO, Sum(INVOICES.AMOUNT) , INVOICES.|DESC| FROM toydb.customers customers, TOYDB.INVOICES INVOICES WHERE customers.CUSTOMER_NO = INVOICES.CUSTOMER_NO GROUP BY INVOICES.CUSTOMER_NO ORD" SDWORD 237 DIAG [37000] [Marxmeier][SQL/R ODBC Server]37000 - unexpected symbol (#1) syntax error near "ORD" Unexpected symbol or invalid SQL/R language statement. (-1)