正在进行选择强制转换(0为位)返回错误“不一致类型(7481)”

时间:2016-01-19 22:33:22

标签: sql openedge

如果我要执行以下声明:

select cast(0 as bit) from customer

我收到错误:

[DataDirect][OpenEdge JDBC Driver][OpenEdge] Inconsistent types (7481)

但是,如果我要用字段名称替换整数文字,例如:

select cast(SomeIntField as bit) from customer

其中SomeIntField是一个存储01的整数字段,查询正确执行。

我注意到progress article #56514但无法提供有关访问数据库字段的更新信息。

0 个答案:

没有答案