In SQL Server what's the difference between selecting a column as Year and [Year]? -


do add '[]' differentiate system defined keyword our own ... ? or there other reason behind using '[]'? thanks!

the use of square brackets in t-sql allow use reserved words object names or aliases.
however, recommend not using reserved words begin with.
here prefered method of avoiding use of reserved words.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -