如何使用 Oracle 在日期和时间之间添加字母 "T"?
How to add letter "T" between date and time using Oracle?
我想使用 oracle 在日期和时间之间添加字母 T
像这样:
2015/01/01T00:00:00
日期脚本
to_char(l.date_generated, 'yyyy/mm/dd hh24:mi:ss')
You can include these characters in a date format model: ...Character literals, enclosed in double quotation marks
所以,
TO_CHAR(l.date_generated, 'yyyy/mm/dd"T"hh24:mi:ss')
我想使用 oracle 在日期和时间之间添加字母 T
像这样:
2015/01/01T00:00:00
日期脚本
to_char(l.date_generated, 'yyyy/mm/dd hh24:mi:ss')
You can include these characters in a date format model: ...Character literals, enclosed in double quotation marks
所以,
TO_CHAR(l.date_generated, 'yyyy/mm/dd"T"hh24:mi:ss')