Home » MYSQL » Mysql Error handling » Question
  1. Which mode prevents entry of the ‘zero’ date value in strict mode?
    1. NO_ZERO_IN_DATE
    2. PREVENT
    3. SUPPRESS
    4. NO_ZERO_DATE
    5. None of these
Correct Option: D

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.



Your comments will be displayed only after manual approval.