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

时间:2024-10-16 16:27:28

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-dws/dws_06_0309.html