What is restrict in sql?



What is restrict in sql?..

Answer / Jagveer Singh

In SQL, 'RESTRICT' is a constraint used with the DELETE and UPDATE statements. It ensures that an action will not be performed if it would violate the integrity of the data (for example, trying to delete or update a record that has dependent records in other tables).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is column?

1 Answers  


Why do we use function in pl sql?

1 Answers  


What is sql clause?

1 Answers  


Is microsoft sql free?

1 Answers  


C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.

1 Answers  


what is definer rights invoke rights?

1 Answers  


Differentiate between syntax and runtime errors.

1 Answers  


What are the default Oracle triggers??

3 Answers   CGI, Tech Mahindra,


What does 0 mean in sql?

1 Answers  


What is on delete restrict?

1 Answers  


Define tables and fields in a database

1 Answers  


What does cursor do in sql?

1 Answers  


Categories