What is WITH CHECK OPTION

Answer Posted / guest

When you use this option to create a view with a where
condition, the system wont allow to perform any action which
will invalidate the definition of the view.

ex:
create view test
as
select firstname,lastname from Employees where sal<10000
with Check option

If this returns 10 rows when you are updating the view if
any action is being done which updates the sal so that the
view returns lesser number of records is not allowed.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you edit the .rdl code associated with a linked report?

109


What is a field name?

511


Do you know what are the properties of the relational tables?

573


Explain syntax for dropping triggers?

515


what is a correlated sub-query? : Sql server database administration

480






What is #temp and @table variable in SQL server?

576


How to integrate the ssrs reports in application?

540


What is b tree index?

511


Is mysql better than sql server?

538


Which joins are sql server default?

505


Explain about nested stored procedure?

594


what is unique and xaml nonclustered index

555


What do you understand by SQL*Net?

613


What is log ldf?

553


What is explicit cursors?

552