opt_estimate 2 - This is a note that was supposed to be a follow-up to an initial example of using the opt_estimate() hint to manipulate the optimizer’s statistical underst...
Acum 9 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;