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 EnvironmentAdditional methods for setting the NLS parameters require that you shutdown andrestart the database. These techniques include the following:■See Also:■■"Setting NLS Parameters" in <strong>Oracle</strong> Database GlobalizationSupport Guide for details on setting the NLS parameters<strong>Oracle</strong> Database <strong>SQL</strong> Reference for more information about <strong>SQL</strong>functions, including the TO_CHAR functionIncluding parameters in the <strong>Oracle</strong> Database initialization parameter file to specifythe default session NLS environment on the server side. For example:NLS_TERRITORY = "CZECH REPUBLIC"See Also: <strong>Oracle</strong> Database installation guide for Linux orWindows for information on setting globalization parameters andenvironmental variables.■Using NLS environment variables on the client, which may beplatform-dependent, to specify locale-dependent behavior for the client and alsoto override the default values set for the session in the initialization parameter file.For example, on a Linux system:% setenv NLS_SORT FRENCHSee Also: <strong>Oracle</strong> Database installation guide for Linux orWindows for information on setting globalization parameters andenvironmental variables.11.2.2 Choosing a Locale with the NLS_LANG Environment VariableA locale is a linguistic and cultural environment in which a system or program isrunning. Setting the NLS_LANG environment parameter is the simplest way to specifylocale behavior for <strong>Oracle</strong> software. It sets the language and territory used by the clientapplication and the database server. It also sets the client's character set, which is thecharacter set for data entered or displayed by a client program.The NLS_LANG parameter sets the language and territory environment used by boththe server session (for example, <strong>SQL</strong> command execution) and the client application(for example, display formatting in <strong>Oracle</strong> tools).You might want to modify the NLS environment dynamically during the session. Todo so, you can use the ALTER SESSION statement to change NLS_LANGUAGE, NLS_TERRITORY, and other NLS parameters.Note: You cannot modify the setting for the client character setwith the ALTER SESSION statement.The ALTER SESSION statement modifies only the session environment. The localclient NLS environment is not modified, unless the client explicitly retrieves the newsettings and modifies its local environment.11-4 <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!