How to check given string - reserved keyword in sql server

How to check if a given string is a reserved keyword on sql server.

I checked a lot on google, but I did not find it!

for example: If I pass the input string as 'Order', the sql statement should return this reserved keyword. Are there any built-in stored procedures or functions for this? Any help would be appreciated.

+4
source share
1 answer

There is no built-in function for this.

Here is a list of known identifiers.

http://technet.microsoft.com/en-us/library/ms189822.aspx

/ .

+1

Source: https://habr.com/ru/post/1529199/


All Articles