更新时间:2023-09-23 12:52:40
如果您的数据格式始终像 yyyy mm dd hh24:mi:ss ,那么您可以使用以下查询获取子字符串:
If your data format is always like yyyy mm dd hh24:mi:ss then you can use following query to get the sub string:
SELECT SUBSTR('2019 04 19 03:00:00', 1, 10)
参考: https://docs.oracle.com/database /121/SQLRF/functions196.htm#S