rspec/rules/S1192/plsql/rule.adoc

38 lines
536 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[]
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]