如何在Oracle SQL Developer中设置自定义日期时间格式? [英] How can I set a custom date time format in Oracle SQL Developer?
本文介绍了如何在Oracle SQL Developer中设置自定义日期时间格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下,Oracle SQL开发人员将日期值显示为15-NOV-11
.我想查看默认的时间部分(小时/分钟/秒).
By default, Oracle SQL developer displays date values as 15-NOV-11
. I would like to see the time part (hour/minute/second) by default.
是否可以在Oracle SQL Developer中进行配置?
Is there a way to configure this within Oracle SQL Developer?
推荐答案
您可以在首选项中对此进行更改:
You can change this in preferences:
- 从Oracle SQL Developer的菜单转到:工具> 首选项.
- 从首选项对话框中,从左侧面板中选择数据库> NLS .
- 从NLS参数列表中,在日期格式字段中输入
DD-MON-RR HH24:MI:SS
. - 保存并关闭对话框,完成!
- From Oracle SQL Developer's menu go to: Tools > Preferences.
- From the Preferences dialog, select Database > NLS from the left panel.
- From the list of NLS parameters, enter
DD-MON-RR HH24:MI:SS
into the Date Format field. - Save and close the dialog, done!
以下是屏幕截图:
这篇关于如何在Oracle SQL Developer中设置自定义日期时间格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文