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

Using keyboard templates

Top  Previous  Next

The SQL editor used in AdeptSQL Diff has a customizable set of "templates" which speed up typing by expanding short abbreviations into one of the commonly used SQL constructions.

To use a template, type its abbreviation (e.g. "t" for 'table') and then press [Ctrl-J]. Below is the list of templates predefined in the editor, the '|' indicating the caret position after expanding the template. You can change or add templates at any time by using the Editor Options Dialog.

Abbrev.

Expanded to:

t

create table | (

 

);

at

alter table | add ;

dt

drop table |;

i

create index | on xx(yyy);

di

drop index |;

v

create view | as

   select * from X where Y;

fk

foreign key (|) references X(Y)

pk

primary key (|)

vc

VarChar(|)

nn

not null

re

references |(X)

u

unique

p

create procedure |

as

begin

 

end

tr

create trigger | on X for

as

begin

 

end

dp

drop procedure |;

dt

drop trigger |;

 

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