postgresql中何替代oracle中的EMPTY_BLOB函数?? postgresql中何替代oracle中的EMPTY_BLOB函数?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 oracle:insert into Table1 (a,b,c...) values('1','2',EMPTY_BLOB()...)postgresql中,上记情况该如何,能代替EMPTY_BLOB()??? iihero=# create table image(name char(32) not null primary key, raster oid);NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "image_pkey" for table "image"CREATE TABLEiihero=# insert into image values('123.img', lo_create(-1));INSERT 0 1iihero=# update image set raster = lo_import('d:/pgsql8.3.3/doc/contrib/refint.example') where name='123.img';UPDATE 1iihero=#用lo_create(-1)就行。 数据库语句高手帮忙 mysql两列想减负数显示问题 mysql 关于hibernate查询(字段数据为空值) mysql菜鸟问题 求救关于mysql 还原数据库速度的问题 关于mysql数据库乱码问题 windows下mysql怎样修改端口 求助!!我的MYSQL缺少程序! 求mysql 函数计算两个时间直接相差的工作时间是多少 求教一个逻辑比较蛋疼的查询 实在不好意思,只有这点分了 读取logo不为空的 组织的表的信息 年末交流, mysql cluster如何支持海量数据索引
postgresql中,上记情况该如何,能代替EMPTY_BLOB()???
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "image_pkey" for table "image"
CREATE TABLE
iihero=# insert into image values('123.img', lo_create(-1));
INSERT 0 1iihero=# update image set raster = lo_import('d:/pgsql8.3.3/doc/contrib/refint.example') where name='123.img';
UPDATE 1
iihero=#用lo_create(-1)就行。