Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / Large Objects
 

Use update statement to change the value in blob type column

SQL> SQL> create table demo   2  ( id           int primary key,   3    theBlob      blob   4  )   5  / Table created. SQL> SQL> update demo  set theBlob = 'Hello World'   2  where id = 1   3  / 0 rows updated. SQL> SQL> drop table demo; Table dropped.