1.

Which datatype is used for a fixed length binary string?(a) VARCHAR(b) BINARY(c) VARBINARY(d) BLOBThe question was posed to me in final exam.Question is taken from MySQL Data Types in division Data Types of MySQL

Answer»

Right answer is (b) BINARY

Easiest explanation: MySQL has a VARIETY of string datatypes for use. Strings can hold arbitrary binary DATA. All the four options are string type NAMES. BINARY is used for a FIXED length binary string.



Discussion

No Comment Found

Related InterviewSolutions