Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Database
»
Database Redesign
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?
ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
None of the above is correct.
Correct Answer:
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
← Previous Question
Next Question→
More Questions from
Database Redesign
Database redesign is not terribly difficult if the:
The data model produced from the reverse engineering process does not include intersection table data.
The NOT EXISTS keyword will be true if any row in the subquery meets the condition.
It is not easy to build a database correctly the first time.
Adding null columns to a table is straightforward.
Some organizations take the stand that no application should ever employ the true name of a table.
Information systems and organizations do not just influence each other; they create each other.
Reverse engineering is the process of reading a database schema and producing a data model from that schema.
Typically, there should be at least two different copies of the database schema used in the redesign process.
Although creating test databases is a critical and necessary job, there are few career opportunities in this area.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments