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

PacketSize (ODBC) – PB Docs 2022 – PowerBuilder Library

PacketSize (ODBC) – PB Docs 2022

PacketSize (ODBC)

database parameter

Description

Specifies the network packet size in bytes when you access an ODBC
data source in PowerBuilder.

Many back-end DBMSs either do not support the PacketSize option or
can return only the current network packet size. For information about
whether the DBMS you are accessing supports PacketSize, see your DBMS
documentation.

When to specify PacketSize

If your back-end DBMS supports it, you must specify the
PacketSize parameter before connecting to the database.

Applies to

ODBC (if ODBC 2.0 or higher driver and back-end DBMS support this
feature)

Syntax

Parameter

Description

value

A 32-bit integer value that specifies the network
packet size in bytes

Default value

The default value for PacketSize is the default for your back-end
DBMS.

Usage

If the PacketSize value you specify is larger than the maximum
network packet size or smaller than the minimum network packet size,
your ODBC driver substitutes the maximum or minimum value for the value
you specified.

Examples

To set the network packet size for an ODBC data source to 2048
bytes:

  • Database profile

    Type the following in the Packet Size box on the Network page
    in the Database Profile Setup dialog box:

  • Application

    Type the following in code:


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