rspec/rules/S1192/plsql/rule.adoc
Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

30 lines
372 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default threshold of 3:
----
BEGIN
prepare('action1');
execute('action1');
release('action1');
END;
/
----
== Compliant Solution
----
DECLARE
action CONSTANT VARCHAR2(7) := 'action1';
BEGIN
prepare(action);
execute(action);
release(action);
END;
/
----
include::../exceptions.adoc[]