想将带时分秒的时间,改为2023-11-29 00:00:00这种形式,这段SQL应该怎么改写呢?select con_build_time from st_srm_e1_detail_v2_dt
Greenplum 数据库试试
SELECT to_char(your_date_column, 'YYYY-MM-DD 00:00:00') AS formatted_date
FROM your_table;