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

Options / Scripting / Schema Level

Top  Previous  Next

opt_schemaThese settings control the situation when you select the root node of the schema tree and command the program to script the entire schema.

Generate CREATE/ALTER DATABASE option enables scripting on the database level itself. When this option is checked and CREATE scripts are generated for the whole schema, they will start with CREATE DATABASE statement. When an update script is being generated, it may include ALTER DATABASE to synchronize names, filegroups and various options of the two databases. By default it is assumed that both databases are already in place and their names, filegroup allocation and properties don't require any synchronization.

With "Produce only CREATE DATABASE", the program will only script database-level information when you select the root node of the schema: CREATE/ALTER DATABASE, database options, db-level extended properties and statement permissions. To script tables, views and other objects you would have to select appropriate sub-nodes of the schema tree.

Set database options. Here you can choose exactly which of the database-level options the program should take into account generating a CREATE or UPDATE script. The options can be scripted using either "ALTER DATABASE ... SET ..." syntax or by calling sp_dboption.

Do not script users... It may be a common situation when users defined on a development server and on a production server are different and do not require synchronization. This options tells the Diff that when the schema root is selected for scripting, the SQL for creating or otherwise synchronizing the users should not be included in the script.

 

 

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