INSERT INTO GGRANDEZ.TBL_ADJUNTOS_ANULACION SELECT A. *,: P502030_ID_REGRISTO, FROM APEX_APPLICATION_TEMP_FILES A WHERE name =: P502030_ADJUNTOS;
I want to give the attachment a size that does not go up 5MB onwards since I do not have space in the BD, so something like dbms_lob.get_length is used and pass convert MB to verify