Google News
logo
SQL Server - Quiz(MCQ)
Which of the following data type is not present in SQL Server?
A)
bit
B)
geography
C)
boolean
D)
hierarchyid

Correct Answer :   boolean


Explanation : SQL Server doesn’t have a Boolean data type, at least not by that name. To store True/False, Yes/No, and On/Off values, use the bit data type. It accepts only three values: 0, 1, and NULL.

Advertisement