HP MPE/iX 6.x Operating System manual Turning AutoCommit On/Off

Models: MPE/iX 6.x Operating System

1 120
Download 120 pages 32.79 Kb
Page 40
Image 40

Application Development

ODBCLink/SE Reference Manual

Turning AutoCommit On/Off

AutoCommit “on” is the default value for all ODBC drivers. Turning AutoCommit on/off is normally accomplished by the application calling SQLSetConnectOption. The AutoCommit on/off setting in ODBC Administrator is there for historical reasons only and should not be used. Setting AutoCommit “off:” in the ODBC Administrator is not a good idea as the application can get confused. For instance, it can incorrectly assume that AutoCommit is on, and then emit SQL that never gets committed.

 

ODBCLink/SE

30

©M.B. Foster Associates Limited 1995-2000

Page 40
Image 40
HP MPE/iX 6.x Operating System manual Turning AutoCommit On/Off