1.

Which of the following characters is illegal in naming an unquoted identifier in SQL?(a) _(b) $(c) 2(d) .This question was addressed to me by my school principal while I was bunking the class.My doubt stems from MySQL Identifier Syntax and Naming Rules topic in portion Using SQL to Manage Data of MySQL

Answer»

The correct choice is (d) .

Explanation: An IDENTIFIER is used to refer to a database or its elements. These elements can be entire tables or ATTRIBUTES. The names of these identifiers FOLLOW some SET of rules, so they have a set of legal characters.



Discussion

No Comment Found

Related InterviewSolutions