under SQLPLUS, /*+ RESTRICT_ALL_REF_CONS */ works in 11.2.0.3 DB, but hits ORA-26945 in 11.2.0.4 and later (Doc ID 2259109.1)

Last updated on APRIL 25, 2017

Applies to:

Oracle GoldenGate - Version 11.2.1.0.0 and later
Information in this document applies to any platform.

Goal

under SQLPLUS, /*+ RESTRICT_ALL_REF_CONS */ works in 11.2.0.3 DB, but hits ORA-26945 in 11.2.0.4 and later.

What is the cause for that?

1. 11.2.0.3

SQL> delete /*+ RESTRICT_ALL_REF_CONS */ from t1;
0 rows deleted.

2. 11.2.0.4 and 12.1.0.2
SQL> delete /*+ RESTRICT_ALL_REF_CONS */ from t1;
delete /*+ RESTRICT_ALL_REF_CONS */ from t1
*
ERROR at line 1:
ORA-26945: unsupported hint RESTRICT_ALL_REF_CONS

 

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms