1.

Which keyword suppresses errors?(a) SUPPRESS(b) STOP(c) PREVENT(d) IGNOREI have been asked this question during an online interview.Enquiry is from How MySQL Handles Invalid Data Values topic in section Data Types of MySQL

Answer»

The correct ANSWER is (d) IGNORE

To elaborate: In MySQL, to suppress errors, IGNORE keyword is used with INSERT or UPDATE statements. With the IGNORE clause, statements that would RESULT in an error DUE to invalid values result only in a WARNING.



Discussion

No Comment Found

Related InterviewSolutions