Using the WITH CHECK OPTION
Using the WITH CHECK OPTION Clause: Example
The following statement is legal even though the third value inserted violates the condition of the subquery where_clause:
INSERT INTO (SELECT department_id, department_name, location_id FROM departments WHERE location_id < 2000) VALUES (9999, 'Entertainment', 2500);
However, the following statement is illegal because it contains the WITH CHECK OPTION clause:
INSERT INTO (SELECT department_id, department_name, location_id FROM departments WHERE location_id < 2000 WITH CHECK OPTION) VALUES (9999, 'Entertainment', 2500); * ERROR at line 2: ORA-01402: view WITH CHECK OPTION where-clause violation
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-1098747/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WITH CHECK OPTION 詳解
- 【檢視】with check option
- create view with check optionView
- ORACLE WITH CHECK OPTION子句詳解Oracle
- insert WITH CHECK OPTION的用法
- oracle 建立檢視用 with check option 子句詳解Oracle
- 檢視中with check option的作用是什麼?
- 9 check Palindrome Number by using pythonPython
- How to check whether the current database in using Oracle optionsDatabaseOracle
- 使用檢視配合With Check Option實現複雜校驗
- with grant option與with admin option區別
- oracle with * option 理解Oracle
- Jumping with Option
- onclick="return check()" 和 onclick="check()" 區別
- jquery獲得option的值和對option進行操作jQuery
- 關於WITH GRANT OPTION
- 蘋果電腦上神奇的Option鍵,巧用option鍵提升效率蘋果
- Jquery 動態增加option及獲取值 遍歷option相關方法jQuery
- 關於GRANT賦權時,WITH GRANT OPTION和WITH ADMIN OPTION的使用
- The option-critic architecture
- JavaScript select新增optionJavaScript
- grant with admin/grant option
- Using index condition Using indexIndex
- jq動態修改select 的option值,使option值自動選中
- check_document_position
- type check例題
- Check database status in RACDatabase
- [Oracle Script] check userOracle
- [Oracle Script] check latchOracle
- Prerequisite check "CheckActiveFilesAndExecutables" failedUIAI
- Availability Check 概念AI
- not null與check is not nullNull
- check ftp success scriptFTP
- Kotlin Type? vs Scala OptionKotlin
- JavaScript調整option順序JavaScript
- js 操作select和optionJS
- Check_icmp check_host_alive報錯解決方法
- MySQL 索引優化 Using where, Using filesortMySql索引優化