FireDAC.Phys.Oracle.TFDPhysOracleDriverLink.NLSLang
Delphi
property NLSLang: String read FNLSLang write FNLSLang;
C++
__property System::UnicodeString NLSLang = {read=FNLSLang, write=FNLSLang};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FireDAC.Phys.Oracle.pas FireDAC.Phys.Oracle.hpp |
FireDAC.Phys.Oracle | TFDPhysOracleDriverLink |
Description
Allows you to specify the NLS_LANG environment variable value.
Use NLSLang to specify the Oracle client NLS_LANG environment variable value.
When you have the Oracle full client installed, the best way to specify the NLS_LANG is to set the NLS_LANG registry value in HKLM\Software\Oracle\<Oracle home>.
When you are working with an Oracle instant client, the best way is to use the NLSLang property. If you don't set this property, then the NLS_LANG registry value in HKLM\Software\Oracle will be used. If it is empty, then AMERICAN_AMERICA.US7ASCII will be used.