rspec/rules/S1192/plsql/rule.adoc

37 lines
532 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
With the default threshold of 3:
2020-06-30 12:47:33 +02:00
----
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[]