1.

What are X’61626364′ and X’61626364′?(a) abcd and 1633837924(b) abcd and 4297383361(c) dcba and 1633837924(d) dcba and 4297383361I had been asked this question in semester exam.This is a very interesting question from Enabling or Disabling LOCAL Capability for LOAD DATA in portion General MySQL Administration of MySQL

Answer»

Right answer is (a) abcd and 1633837924

To explain: In the NUMERIC contexts, each HEXADECIMAL number constant is treated as a number. WITHOUT adding a zero to it, a hexadecimal literal is treated as a string. HENCE it is displayed as abcd.



Discussion

No Comment Found

Related InterviewSolutions