The SQL syntax elements for Oracle Version 7 and SAP MaxDB in the ORACLE SQL mode differ, among other things, in the definition of operators.
The Oracle operator PRIOR is not supported in SAP MaxDB.
PRIOR
SQL Syntax Elements: Differences