SYMPTOM:
When executing a document in Strategy Web 9.4.1 against a SQL Server 200x warehouse, the following error is seen:
Message not found in user history list. It may have been deleted from other session already. Please refresh your history list.QueryEngine encountered error: Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. Incorrect syntax near 'Writer'. Incorrect syntax near 'a21'. Connection String: DSN=PIM PROD;UID=pimbi;DB=PIMDB;PORT=1433;HOST=192.168.121.21;. SQL Statement: select count(a21.Copy Writer) WJXBFS1 from (select distinct from dbo.VW_BBBY_COPY_PROOFING_BI) a21.. Error in Process method of Component: QueryEngineServer, Project PIM Reporting, Job 32668, Error Code= -2147212544.)
Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. Incorrect syntax near 'Writer'. Incorrect syntax near 'a21'. Connection String: DSN=PIM PROD;UID=pimbi;DB=PIMDB;PORT=1433;HOST=192.168.121.21;. SQL Statement: select count(a21.Copy Writer) WJXBFS1 from (select distinct from dbo.VW_BBBY_COPY_PROOFING_BI) a21.