Disconnecting from the database
When your database processing is completed, you disconnect
from the database using the SQL DISCONNECT statement:
1 |
DISCONNECT; |
If you are using a Transaction object other than SQLCA, you must include
the USING TransactionObject clause in the SQL syntax:
1 |
DISCONNECT USING <span>TransactionObject</span>; |
For example:
1 |
DISCONNECT USING ASETrans; |
Automatic COMMIT when disconnected
When a transaction is disconnected, PowerBuilder issues a COMMIT statement by
default.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest