What are the states of ORACLE constraints
This article mainly explains "what are the states of ORACLE constraints". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the states of ORACLE constraints"?
There are four states of ORACLE constraint. When creating a constraint, you should choose to use it according to your business situation:
1.enable validate: this is the default state. Indicates that the original data should meet the constraints and the newly inserted data should meet the constraints.
2.enable novalidate: indicates that the original data is not checked and the newly inserted data should meet the constraints.
3.disable validate: indicates that the original data should meet the constraints and does not check the newly inserted data.
4.disable novalidate: the constraint is disabled, which means that the original data is not checked, and the newly inserted data is not checked.
Thank you for your reading, the above is the content of "what are the states of ORACLE constraints?" after the study of this article, I believe you have a deeper understanding of the state of ORACLE constraints, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!