当前位置:网站首页>GBase8s数据库约束模式的保持
GBase8s数据库约束模式的保持
2022-07-22 07:55:00 【爱吃萝卜冰冰凉】
您对约束的模式的任何更改都保持,直到再次修改那个约束模式的设置,或直到删除那个约束或它
的表为止。
然而,引用约束的 NOVALIDATE 模式是例外,因为这些模式在指定 NOVALIDATE 模式的 SET
CONSTRAINTS 语句之外(或 ALTER TABLE ADD CONSTRAINT 语句之外)不保持。
也就是说,当指定 NOVALIDATE 模式的 DDL 语句完成时,该约束模式转化为 sysobjstate 系统目
录表为这三种可能的模式之中的外键约束记录的任何一种模式:
ENABLED NOVALIDATE 成为 ENABLED
FILTERING WITH ERROR NOVALIDATE 成为 FILTERING WITH ERROR
FILTERING WITHOUT ERROR NOVALIDATE 成为 FILTERING WITHOUT ERROR.
在所有对该表的后续 DML 操作中,诸如 SQL 的 DELETE、INSERT、MERGE 或 UPDATE 语
句,数据库服务器在通过它的 IMMEDIATE 或 DEFERRED 设置确定的时间点,强制启用的外键约
束,但不理会任何先前的 NOVALIDATE 模式。
在辅助服务器上的约束;
在集群环境中,在可更新的辅助服务器上,不支持 SET CONSTRAINTS ENABLED 和 SET
CONSTRAINTS DISABLED 语句。(更一般地,SET Database Object Mode 语句指定的会话级索
引、触发器和约束模式不会为辅助服务器的数据库中表对象上的 UPDATE 操作被重定向。)
边栏推荐
- QWidget add right-click menu
- Using dichotomy to find the elements of an array
- Oracle怎么设置创建时不去检查编译错误?
- [HMS core] [FAQ] [account kit] typical problem set 2
- [micro Service ~ remote call] integrate resttemplate, webclient, feign
- Stack / heap / queue question brushing (Part 1)
- Install vscode offline
- Web3 traffic aggregation platform starfish OS gives players a new paradigm experience of metauniverse
- bokeh参数设置详解
- 十七、C函数指针与回调函数
猜你喜欢
从0开始教你编写Makefile文件
Linear regression (formula derivation +numpy Implementation)
Understanding and learning of dates
Android interview question: what is the difference between pendingintent and intent?
【案例分享】配置IS-IS的路由渗透功能
Allegro如何导入高清Logo、二维码、防静电标识等图片以及汉字
Rk3399 platform development series explanation (alsa subsystem) 4.37, alsa driven framework
How to carry out efficient data governance? Index management and data traceability help!
线性回归(公式推导+numpy实现)
Detailed explanation of bokeh parameter setting
随机推荐
数据湖(十八):Flink与Iceberg整合SQL API操作
二十四、TF坐标变换(四):多坐标变换及坐标系关系查看
【HMS core】【FAQ】In-App Purchases 常见问题分享
使用 Abp.Zero 搭建第三方登录模块(三):网页端开发
Oracle怎么设置创建时不去检查编译错误?
JS to determine whether the linked image exists
The problem of the result set returned by MySQL stored procedure
离线安装vscode
How to make an appointment while watching the panorama? Here comes the VR catering system tutorial
MySQL约束
RK3399平台开发系列讲解(input子系统)4.52、input子系统的实现原理
Arrays类的理解学习
等额本金递增还款/等额本金递减按揭房贷还款计算器
mysql 如何查询Json数据里面的数据
力扣练习——26 分割数组为连续子序列
Go has a simple understanding of the interface
【HMS core】【FAQ】【Account Kit】典型问题集2
力扣练习——21 有序矩阵中的第 k 个最小数组和
How can VR panoramic display attract users' attention in a new way of online promotion?
力扣练习——25 无重叠区间