Question 147Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)The 'DEFAULT constraint' of SQL will
- Aensure that a column cannot have a NULL value
- Bensure that all the values in a column satisfy certain conditions
- Censure that all values in a column are different
- Dprovide a default value for a column when none is specified
Show answerHide answer
Correct answer: (D) provide a default value for a column when none is specified
Explanation
The DEFAULT constraint supplies a default value for a column when no value is given in an INSERT. NOT NULL, CHECK and UNIQUE do the other jobs.