[dba-VB] Reserved words

jwcolby jwcolby at colbyconsulting.com
Fri Nov 30 13:43:30 CST 2007


Does anyone know if the reserved words in SQL Server (can't be used in table
names etc) are in a table anywhere (in sql server)?  I have code that builds
tables and it really needs to check the proposed table name to make sure
that the name isn't a reserved word, and that it does not have special
characters.  I have had TWO times now where I was hunting down errors caused
by issues with what is valid in a table name.

I could build a table of reserved words but if any new ones are added my
list would be short.

John W. Colby
Colby Consulting
www.ColbyConsulting.com 




More information about the dba-VB mailing list