1.

Which option enables multiple-statement execution?(a) CLIENT_MULTI_STATEMENTS(b) CLIENT_STATEMENTS_MULTI(c) MULTI_STATEMENTS_CLIENT(d) MULTI_CLIENTS_STATEMENTSI have been asked this question in exam.This interesting question is from Using Multiple-Statement Execution topic in chapter MySQL Programs Using C of MySQL

Answer»

The CORRECT choice is (a) CLIENT_MULTI_STATEMENTS

Explanation: There are two ways to enable the multiple-statement execution. The FIRST is to add the ‘CLIENT_MULTI_STATEMENTS’ OPTION in the flags ARGUMENT to ‘mysql_real_connect()’ at connect time.



Discussion

No Comment Found

Related InterviewSolutions