1.

Which variable is used to set table alias names as non-case sensitive?(a) lower_case_table_names(b) lower_case_all(c) lower_case_alias(d) lower_case_aliasesThe question was asked in final exam.My doubt stems from Case Sensitivity in SQL Statements topic in section Using SQL to Manage Data of MySQL

Answer»

The correct option is (a) lower_case_table_names

The best I can explain: In MySQL, by DEFAULT the alias names are CASE sensitive. An alias can HENCE be specified in any letter case, upper, lower or mixed. If the variable ‘lower_case_table_names’ is non ZERO, the alias names of TABLES are not case sensitive.



Discussion

No Comment Found

Related InterviewSolutions