Oracle PL/SQL/Char Functions/I18N
Версия от 13:45, 26 мая 2010; (обсуждение)
Converting DATE to another language
SQL>
SQL>
SQL> -- Converting DATE to another language.
SQL> SELECT TO_CHAR(SYSDATE,"MONTH DD YY","NLS_DATE_LANGUAGE=german") "German Date" from DUAL;
German Date
---------------
AUGUST 31 06
SQL>
SQL>
Converting German date to DATE format
SQL>
SQL> -- Converting German date to DATE format.
SQL> SELECT TO_DATE("februar-23","MONTH-DD","NLS_DATE_LANGUAGE=german") "Converted" from DUAL;
Converted
---------
23-FEB-06
SQL>