Environment Variables for Oracle Instant Client
Learn about some common Oracle environment variables that can influence Oracle Instant Client installations.
Table 6-4 Common Environment Variables for Oracle Instant Client
Environment Variable | Description | For More Information |
---|---|---|
PATH |
Set PATH to the instantclient_21_1 directory. For example, update PATH in Control Panel, System, Advanced System Settings, Advanced, Environment Variables, System Variables, PATH. |
Oracle Database Administrator's Reference |
NLS_LANG |
If necessary, set the NLS_LANG environment variable. The NLS_LANG environment variable sets the language and territory used by the client application and the database server. It also sets the client's character set, which is the character set for data entered or displayed by a client program. If not set, a default value will be chosen by Oracle Instant Client. |
Oracle Database Globalization Support Guide |
TNS_ADMIN |
The location of the optional Oracle Net configuration files and Oracle Instant Client
configuration files, including
If TNS_ADMIN is not set, then the
|
Oracle Database Net Services Administrator's Guide |
ORA_TZFILE |
Oracle Instant Client can use the ORA_TZFILE environment variable to read the time zone file from the file system when this environment variable is set. If ORA_TZFILE is not set, then Oracle Instant Client uses the larger, default, For example:
Where, Run the To use an external time zone file, create an |
Oracle Database Administrator's Reference |
ORA_SDTZ |
Specifies the default session time zone. |
Oracle Database Globalization Support Guide |
Parent topic: Installing Oracle Instant Client