返回首页

gbase数据、南大通用产品文档:GBase8sCDC_REC_TRUNCATE记录

更新日期:2024年09月11日

指示对表执行了截断操作。
特定于CDC_REC_TRUNCATE 记录的报头位于公共报头之后。标题后面没有数
据;公共报头中的有效负载大小为0。
表3-11.CDC_REC_TRUNCATE 记录的格式
区分
长度
描述
Sequence number
8 bytes
The sequence
number associated
with the TRUNCATE
operation.
Transaction ID
4 bytes
The transaction ID.
User data
4 bytes
The table identifier passed
to the cdc_startcapture()
function and stored in the
syscdtabs table.

函数说明
返回从hour、minute、second 计算得到的时间值。

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-04-10)
南大通用数据技术股份有限公司
802
示例
示例1:返回“12,15,30”对应的时分秒的值。
gbase> SELECT MAKETIME(12,15,30) FROM dual;
+--------------------+
| MAKETIME(12,15,30) |
+--------------------+
| 12:15:30
|
+--------------------+
1 row in set

通过GBase ADO.NET 创建存储过程
...................
21