Google News
logo
MySQL - Quiz(MCQ)
Which mode prevents entry of the 'zero' date value in strict mode?
A)
PREVENT
B)
SUPPRESS
C)
NO_ZERO_DATE
D)
NO_ZERO_IN_DATE

Correct Answer :   NO_ZERO_DATE


Explanation : The ‘NO_ZERO_DATE’ prevents the entry of the ‘zero’ date value in strict mode. In MySQL, to suppress errors, the IGNORE keyword is used with INSERT or UPDATE statements.

Advertisement