UnicharBind – PB Docs 126

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

Parameter

Description

value

Specifies whether PowerBuilder binds string
input parameters to the Char or Unichar datatype. Values are:

  • 0

    Binds string input parameters as Char datatypes.

  • 1

    Binds string input parameters as Unichar datatypes.

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.

note.png 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:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x