SQL Server数据库里面的日期为“2023042309:30:20”,如何使用SQL语句转换为“2023-04-23 09:30:20”?求问
SqlServer?oracle?mysql?
------------
with a as (
select '2023042309:30:20' [t]
)
select *,CONCAT(convert(date,LEFT(t,8),120),' ',right(t,8)) [new_] from a