NLS_DATE_LANGUAGE

本文介绍如何使用OLAP DML语法或SQL语句动态修改Oracle会话中的NLS_DATE_LANGUAGE选项,以设置日期显示的语言,并提供了将日期语言设置为西班牙语及更改默认日期格式的例子。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

导读:

  The NLS_DATE_LANGUAGE option specifies the language for days, months, and similar language-dependent datetime format elements.

  Within a session, you can dynamically modify the value of this option using the OLAP DML syntax show below or by using the SQL statement ALTER SESSIONSEToption=value.

   Data Type

  TEXT

   Syntax

  NLS_DATE_LANGUAGE = option-value

   Arguments

  See for more information about NLS parameters, including valid values.

   Examples

   Example 6-74 Setting the Language for Dates

  The following statements set the language for dates to Spanish and change the default date format.

  NLS_DATE_LANGUAGE = 'SPANISH'

NLS_DATE_FORMAT = 'Month DD, YYYY'



  A SHOW SYSDATEstatement now generates the date in Spanish.

  Septiembre 08, 2000



本文转自

http://download.oracle.com/docs/cd/B28359_01/olap.111/b28126/dml_options067.htm
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值