问题
I only have the basic Oracle tools available, i.e. SQL Plus, and I need to find out if a table was created with the ROWDEPENDENCIES option. It's a 10g database.
And, if it isn't set, can I use ALTER TABLE to set it, or do I have to drop and re-create the table?
回答1:
SELECT owner, table_name, dependencies FROM dba_tables;
This will return "ENABLED" or "DISABLED" for each table.
You cannot change this after the table has been created, so you'll have to re-create the table to set it on.
来源:https://stackoverflow.com/questions/4105368/how-can-i-determine-if-an-oracle-table-has-the-rowdependencies-option-set