1.

What is x’ffff’ in decimal?(a) 65534(b) 66535(c) 65536(d) 65537I got this question in unit test.This intriguing question originated from Enabling or Disabling LOCAL Capability for LOAD DATA in section General MySQL Administration of MySQL

Answer»

Correct answer is (c) 65536

For explanation I would say: In MySQL, STRING values are specified using the standard SQL notation x’VAL’. Here, val is pairs of HEXADECIMAL digits (‘0’ through ‘ 9 ’ and ‘ a ’ through ‘ f ’). x’FFFF’ is 65536 in decimal.



Discussion

No Comment Found

Related InterviewSolutions