导读:
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
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
本文介绍如何使用OLAP DML语法或SQL语句动态修改Oracle会话中的NLS_DATE_LANGUAGE选项,以设置日期显示的语言,并提供了将日期语言设置为西班牙语及更改默认日期格式的例子。
1万+

被折叠的 条评论
为什么被折叠?



