What is rule (database)?

In database, rules are the requirements and restrictions for columns which are stored in the table or value of user-defined data type. Rule is independent database object with separate stored. Rule is independent with the table or user-defined data type. That is to say, when we  delete or modify the table or user-defined data type, it doesn't affect the corresponding rule. Rules and constraints can be used at the same time. CHECK constraints is a more standard method of restrict the column's value when using ALTERTABLE or CREATE TABLE, but CHECK constraints can not act on the user-defined data types directly.

rule_knowledge_base


: What is Database Integrity?
: What is information system?



Tags: rule  table  user-defined  data  type  

Readers also visit these:

What is data, database (DB), DBMS and DBS?
How to compare and synchronize two database users?
What is data backup and data recovery?
What is Database Integrity?
How to compare and synchronize the differences of two database message types?

Related Questions:

What is data model?
What is data storage?
What is data backup and data recovery?
What is foreign key?