You cannot specify a check constraint for a view.
你不能为一个视图指定check约束。
For table, use the CHECK constraint to ensure integrity.
对于表,可以使用CHECK约束来确保完整性。
The CHECK constraint is perfect for this, as the following table definition shows.
CHECK约束非常适合执行此项操作,如以下所示表定义。
You can create a simple constraint expression to check data for a simple condition;
可创建简单的约束表达式,用简单条件检查数据;
You can create a simple constraint expression to check data for a simple condition;
可创建简单的约束表达式,用简单条件检查数据;
应用推荐