disable/enable validate/novalidate 的区别
转自 http://blog.sina.com.cn/s/blog_5a3b1e820100a1ek.html
启用约束:
enable( validate):启用约束,创建索引,对已有及新加入的数据执行约束.
enable novalidate:启用约束,创建索引,仅对新加入的数据强制执行约束,而不管表中的现有数据.
禁用约束:
disable( novalidate):关闭约束,删除索引,可以对约束列的数据进行修改等操作.
disable validate:关闭约束,删除索引,不能对表进行 插入/更新/删除等操作.
环境:oracle 9i 9.0.1.0 for win,以上结论均测试通过.
例:disable validate约束后,执行update...操作提示:
ORA-25128: 不能对带有禁用和验证约束条件 (SYS.PK_EMP_01) 的表进行插入/更新/删除
ORACLE的表的分类:
1、REGULAR TABLE:普通表,ORACLE推荐的表,使用很方便,人为控制少。
2、PARTITIONED TABLE:分区表,人为控制记录的分布,将表的存储空间分为若干独立的分区,记录按一定的规则存储在分区里。适用于大型的表。
分享到:
相关推荐
disable/enable adb codes
市面在售摇摇杯程序;锂电;低功耗;过充过放过载保护;杯体移除保护;
同时disable/enable一组控件
"Home" button disable and enable
启用约束: enable( validate) :启用约束,创建索引,对已有及新加入的数据执行约束. enable novalidate :启用约束,创建索引,仅对新加入的数据强制执行约束,而不管表中的现有数据.
//bit3:TEIE=0. SPI transmission end interrupt disable //bit2:RORIE=0. SPI receive overrun interrupt disable //bit1:TIE=0. SPI transmission interrupt disable //bit0:RIE=0 SPI ...
2,快速disable/enable代码Macro: WangQiGuo_MultiLineComment : Ctrl+2 3,快速#if #endif代码Macro: WangQiGuo_CommentSelStr : Ctrl+3 4,代码格式化Astyle插件 View->Astyle 5, 函数声名信息,在文件中输入fu...
This utility allows you to easily disable/enable ActiveX components on Internet Explorer browser. It disables the desired ActiveX component by setting the "kill bit" of the desired CLSID under the ...
通过这个批处理命令脚本可以轻松的实现enable ipv4和enable ipv6,同时还可以disable ipv4和disable ipv6,同时还可以比较它们enable前和enable后的ip状态
Ajax加载动画 一个简单的ajax加载动画,用于jquery和Zepto... //enable and disable listening ajax events loading . ajax ( true ) ; //enable loading . ajax ( false ) ; //disable //manual show the loading v
后仿
使用crsctl disable/enable crs命令可以禁用/启用crs的自启动,但没有命令去查看当前自启动状态,虽然命令可以反复执行,但看不到实际状态总归还是让人不放心。 我在Linux测试环境下试了几个Oracle RAC版本: ...
// Disable dictionary words //$captcha->wordsFile = 'words/es.txt'; // Enable spanish words //$captcha->session_var = 'secretword'; // Change session variable $captcha->CreateImage();
reg文件zip包,used for disable ULPS。
// Disable dictionary words//$captcha->wordsFile = 'words/es.txt'; // Enable spanish words//$captcha->session_var = 'secretword'; // Change session variable$captcha->CreateImage();
enable and disable "HOME" button in android 4.0.3 above the version 4.0.3,we should modify the frameworks detail is described in the Enable_Disable_Home.rar
// Disable dictionary words //$captcha->wordsFile = 'words/es.txt'; // Enable spanish words //$captcha->session_var = 'secretword'; // Change session variable $captcha->CreateImage();
Windows 系统资源(Hardware,Driver)Scan,Enable,Disable 也可以在WinPE下运行
If you do not use -N0 or -N1 to force disable/enable the NDR64 protocol, vlmcsd now uses the host build to decide if it uses NDR64 depending if a genuine KMS is using NDR64 on that build.
此adb中无adb disable-verity命令,如果在cmd中输入以上命令会报 /system/bin/sh: disable-verity: not found 的错误。具体可看本人的文章 ”/system/bin/sh: disable-verity: not found 的解决方案“ 【使用方式】...