12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Locale-Dependent <strong>SQL</strong> Functions with Optional NLS Parameters11.4.3 Unacceptable NLS Parameters in <strong>SQL</strong> FunctionsThe following NLS parameters are not accepted in <strong>SQL</strong> functions except for NLSSORT:■■NLS_LANGUAGENLS_TERRITORY■ NLS_DATE_FORMATNLS_DATE_FORMAT and NLS_TERRITORY_FORMAT are not accepted as parametersbecause they can interfere with required format masks. A date format must always bespecified if an NLS parameter is in a TO_CHAR or TO_DATE function. As a result, NLS_DATE_FORMAT and NLS_TERRITORY_FORMAT are not valid NLS parameters for theTO_CHAR or TO_DATE functions. If you specify NLS_DATE_FORMAT or NLS_TERRITORY_FORMAT in the TO_CHAR or TO_DATE function, then an error is returned.NLS_LANGUAGE can interfere with the session value of NLS_DATE_LANGUAGE. If youspecify NLS_LANGUAGE in the TO_CHAR function, for example, then its value isignored if it differs from the session value of NLS_DATE_LANGUAGE.11-24 <strong>SQL</strong> <strong>Developer</strong> Online Help

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!