OpenUtilities Substation Help

Manually Committing SQL Statements

SQL statements are generated by OpenUtilities Substation each time you use certain database tools and key-ins. For example, OpenUtilities Substation generates a SQL INSERT statement when you use the Attach Active Entity tool with Linkage Mode set to New.

By default, OpenUtilities Substation immediately commits SQL statements to the database software. In an alternate mode, OpenUtilities Substation commits statements only when your input necessitates the addition of a row to a database table. The process of adding rows requires the database software to lock tables, and commitment is required to release those locks. The alternate mode can be useful when it is desirable to be able to undo uncommitted SQL statements.

Note: You must type COMMIT before exiting OpenUtilities Substation when the AUTOCOMMIT mode is set to OFF. Otherwise uncommitted transactions will be discarded.