Consultor Eletrônico



Kbase P172360: How to set Fetch Array Size with a DSN-less connection string?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/08/2010
Status: Unverified

GOAL:

How to set Fetch Array Size with a DSN-less connection string?

GOAL:

Can Fetch Array Size be set within a DSN-less connection string?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x
OpenEdge 10.2x

FIX:

The DSN-less connection string has the form:
DRIVER=[{]driver_name[}][;attribute=value[;attribute=value]

...]


Example with the Array Size setting:
DRIVER=DataDirect 5.1 Progress OpenEdge Wire
Protocol;DB=PAYROLL;UID=JOHN;PWD=XYZZY;HOST=LOCALHOST;

PORT=2055;ArraySize=50

ArraySize may also be passed using the ArraySize abbreviation AS.

Example using the AS (Array Size) abbreviation:
Protocol;DB=PAYROLL;UID=JOHN;PWD=XYZZY;HOST=LOCALHOST;

PORT=2055;AS=50