数据仓库服务 GAUSSDB(DWS)-时间/日期函数:transaction_timestamp()

时间:2024-10-21 16:50:41

transaction_timestamp()

描述:当前日期及时间,与current_timestamp等效。

返回值类型:timestamp with time zone

示例:

1
2
3
4
5
SELECT transaction_timestamp();
     transaction_timestamp     
-------------------------------
 2017-09-01 17:05:13.534454+08
(1 row)
support.huaweicloud.com/sqlreference-830-dws/dws_06_0309.html