Cursor_sharing force - Prompted by a recent ODC (OTN) question I’ve just written up an example of one case where setting the cursor_sharing parameter to force doesn’t work as you...
Acum 15 ore
ALTER TABLEstatement with the
EXCEPTIONSoption in the
EXCEPTIONSoption places the rowid, table owner, table name, and constraint name of all exception rows into a specified table.
EXCEPTIONSoption of the
ENABLEclause before enabling the constraint. You can create an exception table by executing the
UTLEXCPT.SQLscript or the
EXCEPTIONS. You can create additional exceptions tables with different names by modifying and resubmitting the script.
PRIMARY KEYof the
depttable, and if exceptions exist, information is inserted into a table named
ALTER TABLE dept ENABLE PRIMARY KEY EXCEPTIONS INTO EXCEPTIONS;
depttable and the name of the
PRIMARY KEYconstraint on
sys_c00610, then the following query will display those exceptions:
SELECT * FROM EXCEPTIONS;