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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- onclick="return check()" 和 onclick="check()" 區別
- option新增空白
- jquery獲得option的值和對option進行操作jQuery
- Check if String is HappyAPP
- The option-critic architecture
- MySQL 索引優化 Using where, Using filesortMySql索引優化
- MySQL explain結果Extra中"Using Index"與"Using where; Using index"區別MySqlAIIndex
- Jquery 動態增加option及獲取值 遍歷option相關方法jQuery
- 蘋果電腦上神奇的Option鍵,巧用option鍵提升效率蘋果
- CHECK_INTERFACE作用
- check_document_position
- Kotlin Type? vs Scala OptionKotlin
- SAP WM中階Storage Type的Capacity Check – Usage check based on SUT
- Using hints for PostgresqlSQL
- String interpolation using $
- using的用法
- Using mysqldump for backupsMySql
- MySQL 之 USINGMySql
- [LintCode] Check Full Binary Tree
- Mysql replication check指令碼MySql指令碼
- Check connection related issue of mysqlMySql
- 括展actuator health check
- check memcached process and restart if downREST
- SAP WM中階儲存型別的Capacity Check – Usage check based on material型別
- pdf crop using pythonPython
- MGTSC 212 using ExcelExcel
- Video Division with using OpenCvIDEOpenCV
- Dictionary application using SwingAPP
- What are the benefits of using an proxy?
- 升級check SQL01SQL
- [LintCode/LeetCode] Check Sum of K PrimesLeetCode
- 淺談Using filesort和Using temporary 為什麼這麼慢
- post請求帶來的option
- Rust 程式設計,Option 學習Rust程式設計
- 期權——put-call option parity
- YUI Datatable dropdown option value text definationUI
- Dynamic Web Project option missing in Eclipse KeplerWebProjectEclipse
- [Typescript] The module & moduleResolution Option in tsconfig.jsonTypeScriptJSON
- Echarts中Option屬性設定Echarts