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.
Correct Answer
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
Database Redesign problems
Search Results
1. Which of the following modifications may not succeed?
Options
A. Changing a column data type from char to date
B. Changing a column data type from numeric to char
Correct Answer: Changing a column data type from char to date
2. Because of the importance of making data model changes correctly, many professionals are ________ about using an automated process for database redesign.