ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is WITH CHECK OPTION
 Question Submitted By :: Kiran
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is WITH CHECK OPTION
Answer
# 1
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 ?    3 Yes 0 No
Guest
 
  Re: What is WITH CHECK OPTION
Answer
# 2
The CHECKPOINT statement saves time in a subsequent 
recovery by creating a point at which all modifications to 
data and log pages are guaranteed to have been written to 
disk.

Checkpoints also occur: 

When a database option is changed with ALTER DATABASE. A 
checkpoint is executed in the database in which the option 
is changed.


When a server is stopped, a checkpoint is executed in each 
database on the server. These methods of stopping Microsoft 
SQL Server 2000 checkpoint each database
 
Is This Answer Correct ?    3 Yes 6 No
Naren
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is the difference between windows authentication and sql server authentication HCL4
How do you persist objects, permissions in tempdb  1
i have 4 tables.. T1, T2, T3, T4.. these tables have the same structure and they store the information entered in different years.. T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored 2005.. i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and T4 to T1.. how do i do that? Temp tables cannot be used..  2
Explain sp_configure commands, set commands?  3
what purpose does OPENXML clause have in sql server stored procedure?  1
What is a Stored Procedure?  7
How many types of cursors are there in SQL Server? 247Customer3
What is a sub-query? When would you use one?  3
How would you Update the rows which are divisible by 10, given a set of numbers in column?  1
How to get the count of distinct records. Please give me the query? Value-Labs5
what is replication? where do u use Go Keyword? Satyam1
how can we use a composite key for two tables and how can we represent it BoA1
When do you create cluster and noncluster index? Satyam4
What is the difference between a Application Server and a Database Oracle2
Explain some DBCC commands?  4
How do you know which index a table is using?  4
Is it possible to create a stored procedure that runs a query and outputs the results to a text file and allows me to add extra delimeters and static field info. If so How?  1
Is it possible to delete duplicate rows in a table without using a temporary table ?  6
I am Having tables T1 and T2 both having same data how to check (or) compare the data in both table are same?  2
What is the difference between temp table and table variable? Microsoft4
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com