Check if string is SQL Server Reserved Keywords or not -


is possible determine if string sql server reserved keywords or not?

logic should -

if @string sql server reserved keywords      return 1 else       return 0 

as far know there no built-in way. can write own function compare string against known reserved words documentation.

this list can kept dynamic in table changes (e.g. different versions of sql server) table can updated.

also way single select statement yield result.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -