Home » MYSQL » Mysql Compound Statements » Question
  1. Which of these is preferred when stored procedures are not being used?
    CLIENT_MULTI_STATEMENTS, mysql_set_server_option()
    1. neither of the two
    2. CLIENT_MULTI_STATEMENTS
    3. mysql_set_server_option()
    4. any of the two
    5. None of these
Correct Option: D

If the program does not use stored procedures anyone is suitable. If the program uses stored procedures and invokes a ‘CALL’ statement that returns a result set, the first method is better.



Your comments will be displayed only after manual approval.