1.

Which keyword inserted in the SHOW STATUS statement shows the values for the current connection?(a) GLOBAL(b) SESSION(c) LOCAL(d) DEFAULTI got this question by my school principal while I was bunking the class.This intriguing question originated from Status Variables in section System, Status and User Variables of MySQL

Answer»

The CORRECT option is (b) SESSION

Explanation: The OPTIONAL ‘GLOBAL’ keyword in the statement SHOW [GLOBAL | SESSION] STATUS statement aggregates the values over all connections and ‘SESSION’ SHOWS the values for the current connection.



Discussion

No Comment Found

Related InterviewSolutions