Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

NCharBind – PB Docs 2017 – PowerBuilder Library

NCharBind – PB Docs 2017

NCharBind

database parameter

Description

Specifies whether PowerBuilder binds input string parameters to
the Char or NChar datatype.

Applies to

ADO.NET (Oracle.DataAccess.Client only)

O90 Oracle9i

O10 Oracle 10g

ORA Oracle 11g

SNC SQL Native Client for Microsoft SQL Server

Syntax

Parameter

Description

value

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

  • 0

    Binds string input parameters to the Char
    datatype.

  • 1

    Binds string input parameters to the NChar
    datatype.

Default value

NCharBind=1 for SNC, NCharBind=0 for other interfaces

Usage

For Oracle, the default NcharBind=0 setting is recommended for
binding Char, Varchar, Long and Clob data. NcharBind=1 is recommended
for binding Nchar, Nvarchar2 and Nclob data.

For SNC, the default NcharBind=1 is recommended for binding Nchar,
Nvarchar, Ntext and Nvarchar(max) data. It encodes the string data as
Unicode. NcharBind=0 is recommended for binding Char, Varchar, Text and
Varchar(max) data. This setting converts the data to the ANSI string
determined by the current operating system code page.

DisableBind must be set to 0

For NcharBind to take effect, the DisableBind parameter must be
set to 0. DisableBind=1 overrides the NcharBind setting.

Examples

To specify that string arguments should be bound as the NChar
datatype:

  • Database profile

    Select the NCharBind box on the Transaction page in the
    Database Profile Setup dialog box.

  • Application

    Type the following in code:

See also

BindSPInput

DisableBind

RPCRebind

UnicharBind


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