GBase 8s
适配迁移
问答

jdbc参数DELIMIDENT设置为y时,cdc函数如何传递大写的表名?

发表于2023-12-29 11:03:57351次浏览3个评论

【GBase版本】: gbase8s v8.8

驱动】:gbasedbtjdbc_3.5.0_2_36800b.jar

  jdbc参数DELIMIDENT设置为y后, 创建一张表名大写的表:

create table "UPPER" (

  id serial primary key,

  c1 int

)

之后在执行execute function gbasedbt.cdc_set_fullrowlogging('testdb5:gbasedbt."UPPER"',0); 时,返回错误码-83721(The first parameter passed to the function is not valid.)

尝试执行execute function gbasedbt.cdc_set_fullrowlogging('testdb5:gbasedbt.UPPER',0); ,返回错误码-83705The specified table does not exist.

请问函数里该怎么传递大写的表名呢?

 

评论

登录后才可以发表评论
GBase用户11653发表于 2年前
execute function gbasedbt.cdc_set_fullrowlogging('testdb5:gbasedbt."UPPER"',0);
这种方式在informix里是可以使用的
老三发表于 2年前
@GBase用户11653:确认informix12.1FC12无此问题,与gbase同基线的informix12.1FC4存在同样问题,等待确认修复。
另DELIMIDENT如果不是一定必要,不建议使用。
最佳回答
曾云林发表于 2个月前
等答案了啊。