Update README.md

This commit is contained in:
GowthamRaj K
2021-07-30 23:14:30 +05:30
committed by GitHub
parent 3fe2a649ad
commit ca37d690e7
+6 -1
View File
@@ -805,4 +805,9 @@ The following guidelines indicate when the use of an index should be reconsidere
- The purpose of the WITH CHECK OPTION is to ensure that all UPDATE and INSERTs satisfy the condition(s) in the view definition.
- If they do not satisfy the condition(s), the UPDATE or INSERT returns an error.
CREATE VIEW CUSTOMERS_VIEW AS
SELECT name, age
FROM CUSTOMERS
WHERE age IS NOT NULL
WITH CHECK OPTION;