Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / Large Objects
 

BFILE value and BFILENAME function

SQL>  CREATE TABLE myBFile   2  (id NUMBER PRIMARY KEY,   3   bfile_data BFILE); Table created. SQL> SQL> INSERT INTO myBFile VALUES (1,BFILENAME('BFILE_DIR','test.bmp')); 1 row created. SQL> SQL> drop table myBFile; Table dropped. SQL>