41 lines
590 B
Plaintext
41 lines
590 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
[source,sql]
|
|
----
|
|
CREATE FUNCTION my_function_ RETURN PLS_INTEGER AS -- Noncompliant
|
|
BEGIN
|
|
RETURN 42;
|
|
END;
|
|
/
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
[source,sql]
|
|
----
|
|
CREATE FUNCTION my_function RETURN PLS_INTEGER AS
|
|
BEGIN
|
|
RETURN 42;
|
|
END;
|
|
/
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
include::../parameters.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|