---
title: "Oracle时间查询显示英文以及显示中文的例子"
author: "cserw3c"
date: "2014-05-20T15:14:12Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2014-12-29T14:55:59Z"
id: 2068647
url: "https://solomon2012.iteye.com/blog/2068647"
---

```
 













需要显示类似December 12，2013这种格式
select  to_char(sysdate,'Month DD,yyyy','NLS_DATE_LANGUAGE = American') as t  from DUAL
 
 
需要显示类似2013年5月13日这种格式
select  to_char(sysdate,'yyyy') || '年' ||to_char(sysdate,'mm')||'月' ||  to_char(sysdate,'dd')||'日'  as t from DUAL t;
```