Howto check size of BLOB image before upload?
788134Aug 5 2010 — edited Apr 15 2011I have a table which stores images as BLOB. I want those images to be 1Mb large, or less. How do I check the size of a BLOB, before insert?
I've tried to check this in a before insert trigger on the table with a check on dbms_lob.getlength(IMAGE_FIELD) but the size seems to be 0 at that point.
I want the size to be checked before upload / insert. Is it possible to check this on upload in APEX?
I'm now using APEX 4.