ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

The return value from operations returning a row count is . . . . . . . .

Answer & Solution
Correct Answer: Option C
This question is asking about how MySQL tells you how many rows were affected by a query. Imagine you're asking MySQL to update or delete some data. How does MySQL tell you how many rows were changed?

The answer is not one of the options given. MySQL uses a special variable called `ROW_COUNT()` to track the number of rows affected by the last query.

Let's break down why the other options are incorrect:

* `$rc`, `$rv`, `$rows`, and `$ary` are not standard MySQL variables. They might be used in specific programming languages or frameworks, but not directly in MySQL itself.

So, the correct answer is none of the above. MySQL uses `ROW_COUNT()` to get the row count.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.