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
Post a Comment