Chinaunix

标题: 求助:对text类型的字段如何处理 [打印本页]

作者: aicement    时间: 2008-06-30 10:08
标题: 求助:对text类型的字段如何处理
遇到一个text类型数据的操作问题!
create table test(id serial not null ,name char(20),context text in blobdbs,primary key(id))
在利用insert进行插入的时候,报错:
insert into test(name ,context)values('test','test context');
run:error
  617: A blob data type must be supplied within this context.

我利用load from 'test_file' insert into test 可以,不过这样很不方便,因为我可能只有context这个字段需要从文件里面读出来
我想通过insert into 这个的方式来更新test这个表格,
谢谢各位帮助!
作者: dqsoft    时间: 2008-06-30 16:39
关注中,我也遇到这个问题




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2