33 lines
506 B
Plaintext
33 lines
506 B
Plaintext
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all record field names match the provided regular rexpression.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
With the default regular expression ``++[a-zA-Z](_?+[a-zA-Z0-9])*+++``:
|
|
|
|
----
|
|
DECLARE
|
|
TYPE my_type IS RECORD(
|
|
foo__bar PLS_INTEGER -- Non-Compliant
|
|
);
|
|
BEGIN
|
|
NULL;
|
|
END;
|
|
/
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
DECLARE
|
|
TYPE my_type IS RECORD(
|
|
foo_bar PLS_INTEGER -- Compliant
|
|
);
|
|
BEGIN
|
|
NULL;
|
|
END;
|
|
/
|
|
----
|
|
|