Disconnecting from the database – PB Docs 125

Disconnecting from the database

When your database processing is completed, you disconnect
from the database using the SQL DISCONNECT statement:

If you are using a Transaction object other than SQLCA, you must include
the USING TransactionObject clause in the SQL syntax:

For example:

note.png 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.
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