community.borland.com

Article #19490: ODBC and DB2 don't do Prepare's

 Question and Answer Database

FAQ4490B.txt - ODBC and DB2 don't do Prepare's

Category   :Database (DB2)
Platform   :All Windows
Product    :BC++4.5x,   BC++5.x,   C++Builder1.0,   C++Builder3.x, 
            Delphi2.x,  Delphi3.x,   Delphi4.x,   

Question:
How come I see no performance improvement when preparing 
a query against an ODBC datasource or a DB2 datasource?

Answer:
IN BDE versions prior to 5.10,  The BDE connection to DB2 and ODBC do 
not support prepare. Performing a prepare causes a noop to occur.

BDE 5.10 and later supports Prepare in a DB2 connection. ODBC still 
does not support Prepare.

3/26/99 10:33:19 AM
 

Last Modified: 17-DEC-99