rspec/rules/S1478/plsql/rule.adoc
2022-02-04 16:28:24 +00:00

39 lines
600 B
Plaintext

The ``++LONG++`` and ``++LONG RAW++`` datatypes are deprecated and Oracle recommends to migrate them to the LOB datatypes ``++CLOB++``, ``++NCLOB++`` or ``++BLOB++``.
== Noncompliant Code Example
[source,sql]
----
CREATE TABLE images(
data LONG RAW
);
----
== Compliant Solution
[source,sql]
----
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[]