📜  oracle concat datetime - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:52.594000             🧑  作者: Mango

代码示例1
SELECT TO_DATE(TO_CHAR(t.fromdate,'dd-mm-yyyy') ||
               ' ' ||
               TO_CHAR(t.fromtime,'hh24:mi:ss'),'dd-mm-yyyy hh24:mi:ss') as full_date_col 
FROM YourTable t