1.

Which statement can be used to specify the sql_mode system variable at runtime?(a) SPECIFY(b) SET(c) ASSIGN(d) CHANGEThis question was posed to me in a job interview.This key question is from Server SQL Mode in portion Using SQL to Manage Data of MySQL

Answer»

The CORRECT ANSWER is (B) SET

The explanation: The ‘SET’ statement can change the SQL mode at runtime. For EXAMPLE, the statement SET sql_mode = ‘ANSI_QUOTES’ can be used by a client in its own SESSION specific SQL mode.



Discussion

No Comment Found

Related InterviewSolutions