1
I created the following query and executing displays an error message. Someone has an idea of what might be?
Consultation:
SELECT UTL_RAW.CAST_TO_VARCHAR2(HEXTORAW(relatorio)) FROM GRELBATCH
where IDJOBLOG = (SELECT MAX(IDJOBLOG) FROM GRELBATCH);
Error message:
ORA-00997: invalid use of data type LONG
the report column is of type LONG RAW
– LEANDRO PEREIRA GOMES
The LONG type has some restrictions. See here. https://stackoverflow.com/questions/29116396/workaround-for-ora-00997-illegal-use-of-long-datatype
– Reginaldo Rigo