Specifies whether PowerBuilder binds string input parameters to the Char or Unichar datatype.
ASE, SYC, and SYJ Sybase Adaptive Server Enterprise
UnicharBind=value
Parameter |
Description |
---|---|
value |
Specifies whether PowerBuilder binds string input parameters to the Char or Unichar datatype. Values are:
|
UnicharBind=0
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.
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"