PolarDB-O 云原生数据库 ST_SetEndDateTime

By | 2021年4月22日

设置栅格对象的结束时间。

语法

raster ST_SetEndDateTime(raster raster_obj, timestamp time);

参数

参数名称 描述
raster_obj 需要计算的raster对象。
time 需要设置的时间。建议使用yyyy-MM-dd HH:mm:ss的格式,例如2020-08-30 18:00:00

示例

SELECT ST_endDateTime(ST_setEndDateTime(raster_obj, '2020-01-01'))
FROM raster_table;

    st_enddatetime     
-------------------------
Wed Jan 01 00:00:00 2020                                                                                

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress