List two restrictions that are applied on the modification, Database Management System

Assignment Help:

List two restrictions that are applied on the modification (updation, insertion or deletion) of base tables through view. 

Ans: The two restrictions are:

1. If a view does not consist of primary key and/or at least one of the attributes along with the NOT NULL constraint which do not have default values specified, is not updatable. This restriction is needed because if we are inserting any row in the view than all attributes not included in view of the base relation are will be denoted by the NULLs if any default value is not specified. In this type of case, if any attribute is set as NOT NULL or primary key, then it should not be NULL, and the insertion will be violating the constraints.

2. If a view defined by using grouping and/or aggregate functions, is not updatable. This restriction is also needed because, if we want to modify the base relation by view then we are not in the position to identify that tuple(s) will be modified in the group in what way.


Related Discussions:- List two restrictions that are applied on the modification

Create a new service-based database, In this assignment, you will create a ...

In this assignment, you will create a program that works with multiple tables. In this assignment, you will work with the factory and sales tables. 1. Create a new project nam

#, How to use Oracle

How to use Oracle

Concurrency control, discuss the purpose of the concurrency control?

discuss the purpose of the concurrency control?

What is theta join explain, What is theta join explain? Theta  Join  -...

What is theta join explain? Theta  Join  - The  theta  join  operation  is  an  extension  to  the  natural-join operation which permits us to merge selection and a Cartesian

What is an index, What is an index? An index is a structure that helps ...

What is an index? An index is a structure that helps to place desired records of a relation quickly, without probing all records.

What is stored procedure, What is Stored Procedure? A stored procedure ...

What is Stored Procedure? A stored procedure is a named group of SQL statements that have been previously formed and kept in the server database. Stored procedures accept input

What is meant by data-transfer rate, What is meant by data-transfer rate? ...

What is meant by data-transfer rate? The data-transfer rate is the rate at which data can be retrieved from or kept to the disk.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd