Description
Specifies whether PowerBuilder binds string input parameters to the Char or Unichar datatype.
Applies to
ASE and SYC SAP Adaptive Server Enterprise
Syntax
UnicharBind=value
Parameter |
Description |
---|---|
value |
Specifies whether PowerBuilder binds string input parameters to the Char or Unichar datatype. Values are:
|
Default value
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.
DisableBind must be set to 0
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:
SQLCA.DBParm="UnicharBind=1"
See also