Rule Definition
Oracle instructs user to not use LONG and LONG RAW anymore and to use LOB instead.
The reasons for that are:
- LONG can only store 2GB whereas LOB can have 4GB
- In PL/SQL only 32760 bytes can be handled on LONG (on possibly 2GB)
- Only one column of type LONG or LONG RAW per table is possible. There is no such limit with LOB
- Acess to LONG are sequential whereas access to LOB can be direct (thus having better performances)
- A LONG value can't be used as a parameter of a function in SQL, and in PL/SQL LONG variables will be converted to VARCHAR2
etc..
Remediation
Convert LONG and LONG RAW to LOB.
Related Technologies
PL/SQL
Technical Criterion
Efficiency - SQL and Data Handling Performance
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.