Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Technical Questions
»
Database
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
Of the three ways to create an Oracle database, which one is the easiest and most recommended?
An Oracle System Change Number (SCN):
The ODBC core API consists of which of the following functions?
________ is a simple object model that is easier to understand and use than OLE DB, and is frequently used for database applications.
Which of the following are goals of OLE DB?
Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
A composite attribute is which of the following?
A ternary relationship involves how many entities?
Which of the following is not a database object in MS Access?
Which of the following is true about cloud computing?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments