ModifySyntax DBParm
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \ModifySyntax 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 ModifySyntax for use with the Sybase Systems 10 and 11 CT-Lib interface on all supported platforms.

When you are using this interface to access the database, ModifySyntax controls whether PowerBuilder or InfoMaker modifies the WHERE clause to optimize performance when it queries Sybase SQL Server for result set descriptions. By default, ModifySyntax is set to 1 to perform the WHERE clause modification.

For some complex SQL queries containing nested SUBSELECT statements, modifying the WHERE clause generates illegal SQL syntax. If you are issuing a complex query, you can turn off the default WHERE clause modification by setting ModifySyntax to 0.

Purpose

If ModifySyntax is set to 1 and you issue a complex SQL query containing a nested SUBSELECT statement, an error message may display indicating that the SQL syntax is incorrect. To help you avoid such syntax errors, set ModifySyntax to 0 to turn off PowerBuilder's or InfoMaker's default modification of the WHERE clause.

Usage

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

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

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