MicroStation CONNECT Edition Help

Manually Committing SQL Statements

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

By default, MicroStation immediately commits SQL statements to the database software. In an alternate mode, MicroStation 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 MicroStation when the AUTOCOMMIT mode is set to OFF. Otherwise uncommitted transactions will be discarded.