Mysql Compound Statements


  1. What enables encrypted connections to be established?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For the ‘exec_stmt_ssl’ to work properly, MySQL must have been built with SSL support, and the server must be started with the proper options that identify its certificate and key files.


  1. Which statement exits a labeled flow-control construct?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The ‘LEAVE’ statement is used to exit a labeled flow-control construct. This statement must appear within the construct that has the given label. The syntax of the statement is ‘LEAVE label’.



  1. Association between one or more MyISAM tables and the named key cache is set by _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    ‘CACHE INDEX’ sets up an association between one or more MyISAM tables and the named key cache which must already exist. The INDEX privilege is needed for each table named in the statement.


  1. Which statement terminates the execution of a function?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The ‘RETURN’ statement is used only within stored functions, not stored procedures, triggers, or events. When this statement is executed it terminates execution of the function.



  1. The statement that constructs a branching flow-control construct is _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The ‘CASE’ statement provides a branching flow-control construct. When the initial expression, ‘expr’, is present, CASE compares it to the expression following each ‘WHEN’.