What is the purpose of the 'WITH CHECK OPTION' clause when creating a view?
-
A
Encrypt view
-
B
Prevent invalid updates through view
Correct answer
-
C
Speed up view
-
D
Drop view
Correct answer
B. Prevent invalid updates through view
15 views
Explanation
WITH CHECK OPTION prevents updates through the view that would not satisfy the view's WHERE clause. Source: mcqsmind.com, Views, Q2.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ