SA0061A : Check all Tables in the current database for following specified naming convention |
![]() |
The topic describes the SA0061A analysis rule.

Check all Tables in the current database for following specified naming convention

The rule checks the naming of all tables in the current database.
The NamePattern variable can be used to select or define the desired pattern which will be used to check the object name.
The SchemaQualifiedNamePattern variable can be used to select or define the desired pattern which will be used to check the schema qualified object name.
Regular expression patterns can be used, but the pattern must be prefixed with ‘regexp:’ string in order to be used as a matching regular expression.

Review the table name and rename it according to the naming convention.

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

Name | Description | Default Value |
---|---|---|
NamePattern |
Table name pattern. |
regexp:[A-Z][A-Za-z]+ |
SchemaQualifiedNamePattern |
Schema qualified name pattern. |
– |

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


Naming Rules, Code Smells

There is no additional info for this rule.
