UnicharBind database parameter
Description
Specifies whether PowerBuilder binds string input parameters
to the Char or Unichar datatype.
Controls
-
ASE, SYC, and SYJ SAP
Adaptive Server Enterprise
Syntax
1 |
UnicharBind=<span>value</span> |
Parameter |
Description |
---|---|
value |
Specifies whether PowerBuilder binds string
|
Default
UnicharBind=0
Usage
The default setting, UnicharBind=0, is recommended
for binding Char, Varchar, and Text data. This binding encodes the
string data as ANSI strings determined by the current client operating
system’s code page. UnicharBind=1 is recommended
for binding strings as Unichar, Univarchar, and Unitext data.

For UnicharBind to take effect, the DisableBind parameter
must be set to 0. DisableBind=1 overrides the UnicharBind
setting.
Examples
To bind strings to unichar:
-
Database profile
Select the Bind String parameters as Unichar Type check box
on the Transaction page in the Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DbParameter="UnicharBind=1"