Description
Specifies the locale identifier that you want the OLE DB data provider to use.
When to specify LCID
You must specify the LCID parameter before connecting to the database.
Applies to
OLE DB
Syntax
LCID='lcid_name'
Default value
None
Usage
You specify the locale identifier at initialization. This provides a way for the data server to determine PowerBuilder's preferred locale language and character set. However, setting this parameter does not guarantee that all text returned to PowerBuilder is translated according to the locale ID.
Examples
To set the locale to US English:
-
Database profile
Type 1033 in the LCID box on the System page in the Database Profile Setup dialog box.
-
Application
Type the following in code:
SQLCA.DBParm="LCID='1033'"
See also