SA0064A : Check all Stored Procedures in the current database for following specified naming convention

The topic describes the SA0064A analysis rule.

Message

Check all Stored Procedures in the current database for following specified naming convention

Description

The rule checks the naming of all stored procedures 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.

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.

How to fix

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

Scope

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

Parameters
Name Description Default Value
NamePattern

Stored procedure name pattern.

regexp:usp[A-Z][A-Za-z]+

SchemaQualifiedNamePattern

Schema qualified name pattern.

Remarks

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

Effort To Fix
8 minutes per issue.
Categories

Naming Rules, Code Smells

Additional Information

There is no additional info for this rule.

See Also

Other Resources