Join Factorization - This item is, by a roundabout route, a follow-up to yesterday’s note on a critical difference in cardinality estimates that appeared if you used the coales...
Acum 3 zile
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;