How can I find the columns of a disabled index constraint?
For a normal index constraint, you can find the columns it is on by querying the all_ind_columns
sysview using the index name in all_constraints
. But if the constraint is disabled, no index exists, and there doesn't seem开发者_如何学编程 to be anywhere else that has constraint column information. How can I get the columns of a disabled index constraint from the data dictionary (without re-enabling the constraint)?
What about ALL_CONS_COLUMMS? Seems to work find for disabled constraints of types U and P.
精彩评论