如何在oracle中将日期转换为“dd / mm”格式?

时间:2012-03-15 17:13:29

标签: sql oracle

我有查询:

select date_open 
from vw_jira_jiraissues@con_jira.cit
where issue_key = 'IBA-1642'

如何在oracle中将日期转换为“dd / mm”格式?

3 个答案:

答案 0 :(得分:4)

select to_char(date_open, 'dd/mm') from ...

答案 1 :(得分:3)

我相信你想要

TO_CHAR(date_open, 'DD/MM')

答案 2 :(得分:2)

select to_char(date_open,'dd/mm') date_open from vw_jira_jiraissues@con_jira.cit where issue_key = 'IBA-1642'