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;
/