Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DB Change Manager can support cross-platform schema comparisons, but such jobs are limited to the following DBMS combinations and data source objects:

DBMS Source/TargetObjects Compared
Sybase / SQL ServerTables, Unique Keys, Check Constraints, Foreign Keys, Indexes, Primary Keys, Views
Oracle / SQL ServerTables, Unique Keys, Check Constraints, Foreign Keys, Indexes, Primary Keys, Views

For more information on comparing the schemas of two data sources, see Comparing schemas.

Anchor
SchemaArchJobEditor
SchemaArchJobEditor
Schema Archive Job Editor

The Schema Archive Job editor captures a "snapshot" of an existing schema archive. The interface provides the ability to version the same archive multiple times, so you can store and use archived schemas from different points in time.

Schema archives are snapshots of existing schema values. Each data source in your environment can contain multiple archive versions. These versions can be used as baselines in schema comparison jobs against other data sources, archives, or standards.

Image Added

For more information, see Creating a schema archive.

Anchor
SQLEditor
SQLEditor
SQL Editor

In the SQL Editor, you can view and modify job scripts.

Image Added

When DB Change Manager initially generates a script, it appears in SQL Editor. By default, new scripts are automatically saved and appear in the Navigator and Project Explorer in a default directory specified by DB Change Manager. You can edit the SQL scripts and save your changes.

When an SQL file is open in the Workspace, select it and choose a database and an associated catalog on which you want to execute file using the drop down menus in SQL Editor. You can execute the code on the specified database and catalog, start a transaction or commit a transaction, or modify the SQL session options prior to execution.

To run SQL code

  1. Open the SQL file you want to run, ensure it is associated with the correct database
  2. Click the Execute icon.
    DB Change Manager executes the code on the data source you specified. Results are displayed in the same or a new tab.

To execute a transaction

  1. Open the transaction file you want to run and ensure it is associated with the correct database.
  2. Click the Start Transaction icon.
    DB Change Manager executes the transaction on the data source you specified.

To commit a transaction

  1. Open the transaction file you want to commit and ensure it is associated with the correct database.
  2. Click the Commit Transaction icon.
    DB Change Manager commits the transaction on the data source you specified.

You can set transactions to auto-commit prior to execution on the SQL Execution node of the Preferences panel.

Info

The synchronization script generation process does not support all object parameters. The following object parameters should be manually added after a synchronization script is generated, as required:

  • fillfactor
  • consumers
  • allow_dup_row
  • statistics

SQL Session Options

The SQL Session Options dialog provides configuration parameters for running code in the development environment.

Image Added

To modify SQL session options

  1. On the Toolbar, click the SQL Session Options icon.
  2. In the SQL Session Options dialog, click on individual parameters in the Value column to change the configuration of each property, as specified.
  3. Click Finish.
    The session options change and DB Change Manager executes the code as specified when you launch the script.

    Info

    Session options only apply to the corresponding editor and are not retained when executing multiple SQL files.

    Image Added

You can rerun scripts that are saved in DB Change Manager by double-clicking the script name in the Navigator view.


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse