Vidyalelo
MySQL · Q749

MySQL

Programming · MySQL · question 749

Q749

mysql_next_result() does not return.

A.
True
B.
False
Answer

Answer: Option B

Solution

Answer: Option B
Solution:
This question is about a function in MySQL called mysql_next_result(). This function is used to check if there are any more results to fetch from a query that can produce multiple result sets.

The question asks if mysql_next_result() doesn't return anything.

The answer is Option B: False.

Why? Because mysql_next_result() does return something. It returns a boolean value (either true or false).

* True: Means there are more results to be fetched.
* False: Means there are no more results.

So, mysql_next_result() always returns a value. It never simply doesn't return.