GBase 8s
其他
问答
gbase8s支持bool自动转int吗
发表于2025-11-25 13:37:3372次浏览9个评论
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:
【操作系统】:
【CPU】:
【问题描述】*: 其他数据库有bool自动转数字的用法, 老版本sql就那样用了。。。看默认安装的gbase8s应该不支持?
这个有配置可以设置吗?或者创建规则(比如postgresql的create cast)?
> desc testonly;
Column name Type Nulls
id integer no
name varchar(200,0) no
status boolean no
Elapsed time: 0.007 sec
> select * from testonly where status = 1;
674: Routine (equal) can not be resolved.
Error in line 1
Near character position 38
评论
登录后才可以发表评论
路路路发表于 8个月前
稍等
GBase用户28017发表于 8个月前
不支持吗?
GBase用户28017发表于 7个月前
了解。
GBase用户28017发表于 7个月前
没试过。
沉香发表于 2个月前
蹲个答案。
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526