Machine-translated by Google. Questions are authored in English.
Top

Discussion

An SQL Server reserved word must be placed in brackets. If the word is not in brackets, SQL Server will try to interpret it as the name of one of its special words.

  • A.True
  • B.False

Answer: A

Correct answer: True

Square brackets delimit an identifier, so a reserved word or a name containing spaces or other special characters must be bracketed to be read as a name. Without them the parser takes the word in its reserved sense and reports a syntax error. The double quote serves the same purpose when the quoted identifier setting is on.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.