Which variable returns code from operations that return true or false?
A. $rc
B. $rv
C. $rows
D. $ary
Answer: Option A
Solution (By Examveda Team)
This question is asking about a special variable in MySQL that tells you if a command was successful or not. Think of it like a light switch:* On means the command worked. * Off means something went wrong.
The variable that holds this information is called $rc.
So the answer is Option A: $rc
Let's break down why the other options are incorrect:
* $rv: This variable is not used in MySQL.
* $rows: This variable stores the number of rows affected by a query.
* $ary: This variable isn't a standard MySQL variable.
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion