返回首页

gbase数据、南大通用产品文档:GBase8a|

更新日期:2024年09月11日

+------------+
1 row in set

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
630

biginttoint4() 函数将 BIGINT 类型数值转换为 int4 类型数值。
语法
mint biginttoint4(bigintv, int4p)
const bigint bigintv
int4 *int4p
bigintv
要转换为 int4 整数值的 bigint 值。
int4p
指向包含转换的结果的 int4 变量的指针。

返回代码
0
转换成功。
<0
转换失败。

SQLCancel 取消 hstmt 或查询的处理。
下表描述了此该函数的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息
01000
-11001
General warning
01S05
-11010
Cancel treated as FreeStmt/Close.
70100
-11039
Operation aborted
S1000
-11060
General error
S1001
-11061
Memory-allocation failure
08S01
-11301
A protocol error has been detected. Current connection is
closed.