Invalid expression in WHERE clause of Transact-SQL outer join

Error constant SQLE_INVALID_TSQL_OJ_EXPRESSION
ODBC 2 state 37000
ODBC 3 state 42000
Severity 16
SQLCODE -680
SQLSTATE 52W23
Sybase error code 301
 Probable cause