1.

What is the command to see the warning messages?(a) DISPLAY WARNINGS(b) DISP WARNINGS(c) DISP WARNING(d) SHOW WARNINGSThe question was asked in semester exam.My doubt is from How MySQL Handles Invalid Data Values in division Data Types of MySQL

Answer»

Correct option is (d) SHOW WARNINGS

For explanation I would say: In MySQL, the default value conversions are reported as warnings for INSERT, REPLACE and UPDATE STATEMENTS. The SHOW WARNINGS command is USED after executing one of those statements to SEE the warning messages.



Discussion

No Comment Found

Related InterviewSolutions