Server SQL Mode


  1. Which mode tells the server to recognize || as the string concatenation operator?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    ‘PIPES_AS_CONCAT’, one of the many MySQL server mode values stored in the system variable would direct the server to treat the pipe characters as the standard SQL string concatenation operator rather than the logical or. The rest mode values are invalid.


  1. Which mode tells the server to recognize double quote as an identifier quoting character?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    ‘ANSI_QUOTES’ is the MySQL server mode value stored in the system variable which directs the MySQL server to treat the double quote character as a quoting character for identifiers. The others are not valid mode values.



  1. How do the STRICT_ALL_TABLES and STRICT_TRANS_TABLES mode values deal with bad data?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    ‘STRICT_ALL_TABLES’ and ‘STRICT_TRANS_TABLES’ are the MySQL server mode values that deal with bad data in a ‘strict’ manner. They do not make any change to the data. It is simply rejected.


  1. Any client in the client/server architecture of MySQL can change how the server behaves in relation to itself without impact on other clients.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The MySQL server system variable ‘sql_mode’ can be set up globally. In this way, individual clients would have the ability to change their connection to the server. This variable can affect several aspects of statement executions.



  1. The system variable in MySQL server that enables to configure the SQL mode is __________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The system variable ‘sql_mode’ is used by the MySQL server to configure the SQL mode. It has an impact on various aspects of the SQL statement executions. The other variables do not exist in the server.