Examveda

A BIT value in a result set is displayed as a binary string.

A. True

B. False

Answer: Option A

Solution (By Examveda Team)

This question asks whether a BIT value in a MySQL result set is displayed as a binary string. Let's break it down:
* BIT Data Type: In MySQL, the BIT data type is used to store single-bit values, representing either 0 (false) or 1 (true).
* Result Set: A result set is the output displayed after executing a MySQL query.
* Binary String: A binary string is a sequence of 0s and 1s, like "01011".
Now, when you query a BIT column in MySQL, it is usually displayed as either 0 or 1, not as a binary string like "01011".
Therefore, the correct answer is Option B: False.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous