SQL語句:insert、update 操作ORACLE中的BLOB字段

使用函數rawtohex將raw串轉換爲十六進制 

insert:

insert into blob_table values(rawtohex('裏面放需要增加的BLOB'));

update:

update blob_table set BLOB字段名 = rawtohex('裏面放需要更新的BLOB');

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章