>Are you allowing the user to type SQL which you are then executing? Is that why you are trying to strip out reserved words?
No, this is because the development projects build their SQL in ANSI format, without having any dependencies on the backend. So, we do not have to worry about reserved word and avoid unexpected surprises if something becomes a reserved word later on. This is also to be able to move backend at any time without having to change the development projects. So, only the framework would need to be adjusted in case SQL Server would turn a new word into a reserved word in the future or if we change backend and we would need to adjust a new method for the same in consideration to a different set of reserved words.