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 / Identifiers

Top  Previous  Next

opt_script_namesThis page controls scripting of names.  Note that starting in version 1.95, the settings were somewhat simplified. 

For database objects that have an owner (SQL 7.0, SQL2000) or belong to a named schema (SQL2005) the Diff would normally determine if it the owner name must be scripted or just the object name is sufficient. This is the "Automatic..." name scripting setting.  If you tell the Diff to "Force owner names..." then it will always include them in the script. This applies both to the display in the Schema View and to the names in generated scripts.

MS SQL Server supports two styles of "quoting" identifiers which contain non-alphanumeric characters: by using square brackets [] or by using double-quotes. The latter may be easily confused, both by the programmer and the server, with the way you represent string literals (either with double or single quotes). The Diff allows you to use either style of notation and here is where you can choose it.

Normally, the Diff would only put the quotes or brackets where they are needed, which leads to more compact and readable SQL. The quoting is needed around names that contain spaces, any other special or local characters, or can be confused for a reserved word. 

By checking the Quote all option you can force it to quote all identifiers, just like MS Query Analyzer does.

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