Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ODBC Using CONNECT, DISCONNECT, COMMIT, and ROLLBACK – PB Docs 2021 – PowerBuilder Library

ODBC Using CONNECT, DISCONNECT, COMMIT, and ROLLBACK – PB Docs 2021

ODBC
Using CONNECT, DISCONNECT, COMMIT, and ROLLBACK

The following table lists each transaction management statement and
describes how it works when you use the ODBC interface to connect to a
database:

Statement

Description

CONNECT

Establishes the database connection. After you assign
values to the required properties of the transaction object, you
can execute a CONNECT. When you connect to the database, the DBMS
name returned by the ODBC SQLGetInfo call is returned in the
transaction object property SQLReturnData.

DISCONNECT

Terminates a successful connection. When a DISCONNECT
is executed, PowerBuilder internally executes a COMMIT WORK
statement to commit all changes and then issues a CLOSE DATABASE
statement to terminate the logical unit of work.

COMMIT

Applies all changes made to the database since the
beginning of the current unit of work.

ROLLBACK

Undoes all changes made to the database since the
beginning of the current logical unit of work.

See also

ODBC Performance and
locking


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x