Tuesday, 15 April 2014

sql server - Table name containing special characters '[' and ']' -


I want to create a table using the [] symbol [] in [] symbol [] is a part of the table Name.how can I do it? I can use SQL Server 2008 R2

] if you Place the table name in double quotes:

  create a table "[mu] ha [ha]" (id int);  

Note that the invitation to use the hassle under the road is that all client libraries will deal with them properly, and your code will be difficult for other developers to read.


No comments:

Post a Comment