FormatArgsAsExp DBParm
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \FormatArgsAsExp DBParm
UI for
DB Profiles
INFORMIX 7.x
DB Interface
Oracle 7.3
DB Interface
Oracle 8.0
DB Interface
INTERSOLV DB2
ODBC Driver
Sybase Open
Client 11.1
Sybase 10 & 11
Dist App Interface
Release DBParm
Sybase OC
11.1 Security
Sybase OC
11.1 Directory
Accessing MS
SQL Server 6.5
ODBC 3.0
Sybase
DirectConnect
CommitOn-
Disconnect
DateTimeAllowed
DBParm
DBGatewayUDT
DBParm
FormatArgsAsExp
DBParm
HostReqOwner
DBParm
LowerCaseIdent
DBParm
ModifySyntax
DBParm
PWDialog
DBParm
TableCriteria
DBParm
ThreadSafe
DBParm
TrimSpaces
DBParm
TRS DBParm
AutoCommit in
Net-Gateway
PBCatalogOwner
in Oracle
Increased
DBParm Strings
PRINT Stmts
in Stored Procs
Nondefault DB
Trace Log File
Automatically
Connect to DB

Description

PowerBuilder and InfoMaker provide a new DBParm parameter named FormatArgsAsExp for use with any of the following database interfaces on all supported platforms:

  • IBM
  • ODBC (if driver and backend DBMS support this feature)
  • Oracle (all interfaces)
  • Sybase InformationCONNECT DB2 Gateway interface
  • Sybase Net-Gateway for DB2 interface

When you are using one of these database interfaces to access the database, FormatArgsAsExp controls whether PowerBuilder or InfoMaker converts a DataWindow or report retrieval argument of decimal data type to scientific (exponential) notation if the argument exceeds 12 digits.

Purpose

Setting FormatArgsAsExp may affect the speed of your DataWindow retrieval, especially if you are accessing large databases.

If FormatArgsAsExp is set to Yes (the default), PowerBuilder or InfoMaker converts a decimal retrieval argument to scientific notation if the argument exceeds 12 digits. Some DBMS optimizers may interpret the resulting scientific notation as a different data type and scan all rows in the table to find it. This can slow DataWindow retrieval if (for example) you are accessing a DB2 database with many large tables.

If you set FormatArgsAsExp to No, PowerBuilder or InfoMaker leaves the retrieval argument as a decimal and does not perform the default conversion to scientific notation. This speeds DataWindow retrieval for large databases.

Usage

As with any other DBParm parameter, you can set FormatArgsAsExp in the Database Profile Setup dialog box for your connection or in a PowerBuilder application script.

You must specify a value for FormatArgsAsExp before connecting to the database in PowerBuilder or InfoMaker.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com