12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting up the Globalization Support Environment$012,000.00$014,000.00$013,500.00$012,000.00$011,500.00$013,000.00$012,000.0011.2.7.3 NLS_ISO_CURRENCYNLS_ISO_CURRENCY specifies the character string returned by the C number formatmask, the ISO currency symbol. Setting NLS_ISO_CURRENCY overrides the defaultvalue defined implicitly by NLS_TERRITORY. The value can be any valid string.Local currency symbols can be ambiguous. For example, a dollar sign ($) can refer toUS dollars or Australian dollars. ISO specifications define unique currency symbols forspecific territories or countries. For example, the ISO currency symbol for the USdollar is USD. The ISO currency symbol for the Australian dollar is AUD.NLS_ISO_CURRENCY has the same syntax as the NLS_TERRITORY parameter, and allsupported territories are valid values.To specify the ISO currency symbol for France, set NLS_ISO_CURRENCY as shown inExample 11–10.Example 11–10Setting NLS_ISO_CURRENCY-- set NLS_ISO_CURRENCY to FranceALTER SESSION SET NLS_ISO_CURRENCY = FRANCE;-- display the salary of selected employeesSELECT TO_CHAR(salary, 'C099G999D99') "Salary" FROM employeesWHERE department_id = 60;You should see output similar to the following:Salary--------------------EUR009,000.00EUR006,000.00EUR004,800.00EUR004,800.00EUR004,200.0011.2.7.4 NLS_DUAL_CURRENCYUse NLS_DUAL_CURRENCY to override the default dual currency symbol definedimplicitly by NLS_TERRITORY. The value can be any valid symbol.NLS_DUAL_CURRENCY was introduced to support the euro currency symbol duringthe euro transition period.11.2.8 Linguistic Sorting and SearchingDifferent languages have their own sorting rules. Some languages are collatedaccording to the letter sequence in the alphabet, some according to the number ofstroke counts in the letter, and some are ordered by the pronunciation of the words.11-14 <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!