Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3908439
  • 博文数量: 534
  • 博客积分: 10470
  • 博客等级: 上将
  • 技术积分: 4800
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-26 14:08
文章分类

全部博文(534)

文章存档

2021年(1)

2019年(1)

2017年(1)

2016年(2)

2013年(2)

2012年(10)

2011年(43)

2010年(10)

2009年(17)

2008年(121)

2007年(253)

2006年(73)

分类: Oracle

2007-03-06 13:53:27

  EMPTY_BLOB and EMPTY_CLOB return an empty LOB locator that can be used to initialize a LOB variable or, in an INSERT or UPDATE statement, to initialize a LOB column or attribute to EMPTY. EMPTY means that the LOB is initialized, but not populated with data.

  UPDATE print_media SET ad_photo = EMPTY_BLOB();

OCI operation LOB column first use empty_blob, empty_clob initialize the LOB column.
if not initialize the LOB column get error ORA-01405:fetched column value is NULL.

BFILENAME is initialize for BFILE datatype.
阅读(7417) | 评论(0) | 转发(0) |
0

上一篇:今天的感觉

下一篇:Oracle BFILE

给主人留下些什么吧!~~