11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Options<br />

The following table describes the options available with SQLSetConnectOption.<br />

Option Description<br />

SQL.AUTO.COMMIT Determines the commit mode for transactions. When you use<br />

this option, the connection must already be established, and the<br />

SQL.PRIVATE.TX option must be set to<br />

SQL.PRIVATE.TX.ON. Valid settings are:<br />

SQL.AUTO.COMMIT.ON – Puts a private connection into<br />

autocommit mode.<br />

SQL.AUTO.COMMIT.OFF – Puts a private connection into<br />

manual commit mode.<br />

SQL.PRIVATE.TX Determines if a transaction is controlled by <strong>UniBasic</strong> or the data<br />

source. Valid settings are:<br />

SQL.PRIVATE.TX.ON – Transaction processing is controlled<br />

directly by the DBMS on the server.<br />

SQL.PRIVATE.TX.OFF – Transaction processing is fully<br />

managed by <strong>UniBasic</strong>.<br />

SQL.TXN.ISOLATION Determines the isolation level on the server. When you use this<br />

option, the connection must already be established, the<br />

SQL.PRIVATE.TX option must be set to<br />

SQL.PRIVATE.TX.ON, and no transactions may be active.Valid<br />

settings are:<br />

SQL.TXN.READ.UNCOMMITTED – Sets the isolation level<br />

on the server to 1.<br />

SQL.TXN.READ.COMMITTED – Sets the isolation level on<br />

the server to 2.<br />

SQL.TXN.REPEATABLE.READ – Sets the isolation level on<br />

the server to 3.<br />

SQL.TXN.SERIALIZABLE – Sets the isolation level on the<br />

server to 4.<br />

SQLSetConnectOption Options<br />

SQLSetConnectOption 1-847

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!