rspec/rules/S1478/plsql/rule.adoc

39 lines
600 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
The ``++LONG++`` and ``++LONG RAW++`` datatypes are deprecated and Oracle recommends to migrate them to the LOB datatypes ``++CLOB++``, ``++NCLOB++`` or ``++BLOB++``.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
2022-02-04 17:28:24 +01:00
[source,sql]
2021-04-28 16:49:39 +02:00
----
CREATE TABLE images(
data LONG RAW
);
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
2022-02-04 17:28:24 +01:00
[source,sql]
2021-04-28 16:49:39 +02:00
----
CREATE TABLE images(
data BLOB
);
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]