Contents 

AdeptSQL Diff Reference
AdeptSQl Diff versions, history and milestones
Supported versions of MS SQL Server
Getting started
Connecting to databases
Scanning available servers
Saving and opening comparisons
Running from command line
Diff in portable mode
Working with the schema
Viewing schema differences
Ignored Differences
Comparing objects side-by-side
Dragging and dropping schema items
Using schema filters
Generating comparison reports
Customizing the reports
Executing the SQL
SQL errors and warnings
Transaction support
Keyboard shortcuts
Editing commands and keyboard shortcuts
Using keyboard templates
Choosing debugger's key mapping
Comparing table data
DataDiff overview
DataDiff configuration dialog - table-level
DataDiff configuration dialog - columns
Special situations comparing data
Exporting data to Excel
DataDiff Reports
Column configuration file
Configuring AdeptSQL Diff
Options dialog
Schema Scan
Selective Loading
Comparison
Name Comparison
Code Comparison
User-defined types
Indexes and Statistics
Permissions and XProps
Synonyms
Other details to ignore
Scripting
General logic
Side-by-side scripting
Formatting
Identifiers
Schema Level
Tables
Constraints
Default Values
Procedures, Views, etc
Visuals
Text Fonts
Schema Tree
Summary collections
Side-by-Side View
Suppressed dialogs
Data comparison options
General
Scripting
Column Config File
Using COM Automation interface
Automating schema comparison
Automating data comparison
Licensing and contact info
Registration of AdeptSQL Diff
License conditions
Contact information

AdeptSQL Diff Online Help

Prev Page Next Page

Transaction support

Top  Previous  Next

The code viewer of AdeptSQL Diff supports transactions. It means that the program remembers the position in the script where the transaction has started and returns the execution pointer there if the transaction gets rolled back due to an error. When a SQL statement such as {BEGIN | COMMIT | ROLLBACK} TRAN[SACTION] is executed, the program recognizes that and updates its state automatically.

You can also enter or leave a transaction manually, using the glyph_begin_tran (Start), glyph_commit (Commit) or glyph_Rollback (Rollback) buttons on the Code Viewer's toolbar.

Note: named transactions and checkpoints are not supported. When the Code Viewer executes one of those, it simply ignores any additional parameters. The command goes to the SQL server exactly as it is, but the Code Viewer remains unaware of the transaction name. If you now try to press btn_rollback (Rollback), the program will issue a regular unnamed "ROLLBACK TRANS" thus causing an error.

This limitation should not present a problem, as we are dealing here with straightforward DDL scripts generated by AdeptSQL Diff which usually does not put any transactions there.

   
Converted from CHM to HTML with chm2web Standard 2.85 (unicode)