Monday, November 3, 2008

NLS_DATE_FORMAT

Property

Description

Parameter type

String

Syntax

NLS_DATE_FORMAT = "format"

Default value

Derived from NLS_TERRITORY

Modifiable

ALTER SESSION

Range of values

Any valid date format mask but not exceeding a fixed length

Basic

No

NLS_DATE_FORMAT specifies the default date format to use with the TO_CHAR and TO_DATE functions. The default value of this parameter is determined by NLS_TERRITORY.

The value of this parameter can be any valid date format mask, and the value must be surrounded by double quotation marks. For example:

NLS_DATE_FORMAT = "MM/DD/YYYY"

Note:

1. Query for the current value of the parameter

select name, value, isdefault, isses_modifiable, issys_modifiable,

isinstance_modifiable, isdeprecated, description

from v$parameter where upper(name) = ‘NLS_DATE_FORMAT’;

NAME

VALUE

IS

DEFAULT

ISSES_

MODIFIABLE

ISSYS_

MODIFIABLE

ISINSTANCE_

MODIFIABLE

IS

DEPRECATED

DESCRIPTION

nls_date_format

TRUE

TRUE

FALSE

FALSE

FALSE

NLS Oracle date format

Oracle initializatoin parameters

No comments:

Post a Comment