SA0043A : Avoid using reserved words for type names

The topic describes the SA0043A analysis rule.


Avoid using reserved words for type names


The rule checks the current context for user defined types using a reserved word as type name.

You should avoid using a reserved word as the name of a user-defined type because readers will have a harder time understanding your database code. You can use reserved words in SQL Server as identifiers and object names only if you use delimited identifiers.

How to fix

Review the reported types, which use reserved keywords for the type name, and consider different name for the type.


The rule has a ContextOnly scope and is applied only on current server and database schema.


Rule has no parameters.


The rule requires Analysis Context. If context is missing, the rule will be skipped during analysis.

Effort To Fix
20 minutes per issue.

Naming Rules, Code Smells

Additional Information

There is no additional info for this rule.

See Also

Other Resources