Question: What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

Options

A : ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);

B : ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);

C : ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);

D : None of the above is correct.

Click to view Correct Answer

Previous || Next

Database Redesign - General Questions more questions

The EXISTS keyword will be true if:

Changing cardinalities in a database is:

The NOT EXISTS keyword will be true if:

The data model that is produced from reverse engineering is:

To drop a column that is used as a foreign....

Which is not true of a correlated subquery?

A tool that can help designers understand the dependencies of....

How many copies of the database schema are typically used....

Because of the importance of making data model changes correctly,....

Which of the following indicates the maximum number of entities....

Advanced SQL - General Questions more Online Exam Quiz

Structures - General Questions

Advanced SQL - General Questions

Data and Database Administration - General Questions

Database Design Using Normalization - General Questions

Database Processing for BIS - General Questions

Data Modeling with ER Model - General Questions

Data Warehousing - General Questions

Distributed Databases - General Questions

Introduction to Database - General Questions

Introduction to SQL - General Questions