The indicated select statement failed. The failure was caused by a syntax error with the statement itself.
The select statement failed.
Review the server activity log for message ANR0162W for an explanation of the error that caused this statement to fail.