Run-time error '-2147217900 (80040e14)':[Microsoft][ODBC SQL Server Driver][SQL Server]The query uses non-ANSI outer join operators ("*=" or "=*").

To run this query without modification, please set the compatibility level for current database to 80 or lower, using stored procedure sp_dbcmptlevel. It is strongly recommended to rewrite the query using ANSI outer join operators (LEFT OUTER JOIN, RIGHT OUTER JOIN).

In the future versions of SQL Server, non-ANSI join operators will not be supported even in backward-compatibility modes

This error occurs in any one of the following three instances:

  1. FDM 6.0 and 7.0 - Error in GL Zoom in row format against SQL 2005 database.

  2. FRL13, FDM 6.0 and 7.0 - Error launching Report Wizard against a SQL 2005 DB.

  3. Reports with Reference Codes, TREF, TPROJ receive error against SQL 2005 DB.


This SMR has been fixed in R07670 Service Pack and subsequent Service Packs, please check or website ( for availability of Service Packs for your General Ledger. You may also sign up for automatic notification of Services on our website .


To work around the issue, do the following to set the Compatibility Level of the Database to 80:

  1. In Enterprise Manager, right click the database. Select Properties.

  2. Select the Options Tab.

  3. Change the Compatibility Level to 80.


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!