Home Home Screenshots Download Documentation Contact Licensing Licensing

Documentation: Aqua Data Studio 6.0 - New Features     HTML Documentation download, ZIP: ads-docs.zip (Size: 20MB) / ads-docs-no-shots.zip (Size: 368KB)
  Getting Started
  Installation
  JDBC Drivers
  I. Oracle
  II. DB2 UDB
  III. SQL Server
  IV. Sybase ASE
  V. Sybase Anywhere
  VI. Sybase IQ
  VII. Informix
  VIII. PostgreSQL
  IX. MySQL
  Memory Configuration
  Character sets
  Registering Servers
  I. MSDE 2000
  II. SQL Express 2005
  III. PostgreSQL SSL
  Application
  I. Browser and Scripting
  II. Visual Editing
  III. SQL History
  IV. Shortcut Toolbar
  V. Key Mappings
  VI. Custom Keymap Profiles
  VII. Options
  VIII. Settings
  Query Window
  I. Basics
  II. Toolbar
  III. Server Side Comments
  IV. SQL Automation
  V. Variable Binding
  VI. Results
  VII. Save Results
  VIII. Auto-completion
  IX. SQL Formatter
  X. Permissions
  XI. Parameterized
  Editors
  I. SQL Editor
  II. Text Editor
  III. HTML Editor
  IV. XML Editor
  V. Regular Expressions
  Image Viewer
  Visual Explain Plan
  I. Basics
  II. Explain Plan
  III. Explain Diagram
  IV. Whiteboard
  Procedure/Package Editor
  Tools
  I. Table Data Editor
  II. Script Generator
  III. ER Diagram
  IV. Query Builder
  V. Import Tool
  VI. Export Tool
  VII. Execution Monitor
  Difference Tools
  I. Schema Diff
  II. Tab Diff
  III. Directory Diff
  IV. File Diff
  V. Copy History Diff
  Oracle DBA Tools
  I. Instance Manager
  II. Storage Manager
  III. Rollback Manager
  IV. Log Manager
  V. Security Manager
  VI. Session Manager
  VII. SGA Manager
  VIII. Server Statistics
  SQL Server DBA Tools
  I. Instance Manager
  II. Storage Manager
  III. Security Manager
  IV. Session Manager
  V. SQL Agent Manager
  Sybase DBA Tools
  I. Instance Manager
  II. Storage Manager
  III. Security Manager
  IV. Session Manager
The idea behind the SQL Automation features in Aqua Data Studio (the "Automate" pull down menu) is to cut down on the amount of keystrokes you make while writing SQL statements.

The most amount of time spent typing away is probably writing templates for basic SELECT, INSERT and UPDATE statments ... including writing out the columns.

So, here is an example of how to automate the writing of basic statements ...

Automate INSERT ...

1. Press CTRL-ALT-I --- this will ...
a. Introduce an INSERT template, "INSERT INTO () VALUES()"
b. Place the cursor at the "INSERT INTO ^() VALUES()" location
c. Popup a list of tables for autocompletion of the table name you want to INSERT data into
2. Type out the table you want and move the cursor to the column location, "INSERT INTO MYTABLE(^) VALUES()"
3. Press CTRL-ALT-C --- this will ...
a. Introduce all of the columns for the TABLE you have typed in a comma separated list in the order of definition
4. Move cursor to the values definition location "INSERT INTO MYTABLE(COLUMN1, COLUMN2, ...) VALUES(^)"
5. Press CTRL-ALT-V --- this will ...
a. Introduce stubbed values for the columns of the table according to data type
6. At this point you have "INSERT INTO MYTABLE(COLUMN1, COLUMN2, ...) VALUES('', 0, ...)"
7. You can now finish your statement

Automate UPDATE ...

1. Press CTRL-ALT-U --- this will ...
a. Introduce an UPDATE template, "UPDATE SET WHERE"
b. Place the cursor at the "UPDATE ^ SET WHERE" location
c. Popup a list of tables for autocompletion of the table name you want to UPDATE
2. Type out the table you want and move the cursor to the column set location, "UPDATE MYTABLE SET ^ WHERE"
3. Press CTRL-ALT-C --- this will ...
a. Introduce all of the columns and value stubs for the TABLE you have typed in a comma separated list in the order of definition
4. At this point you have "UPDATE MYTABLE SET EMPLOYEEID=0, NAME='', SALARY=0, TITLE=0, CREATEDDATE='2002-12-30 23:59:59.0' WHERE"
5. You can now finish your statement

Automate SELECT ...

1. Press CTRL-ALT-S --- this will ...
a. Introduce a SELECT template, "SELECT * FROM WHERE"
b. Place the cursor at the "SELECT * FROM ^ WHERE" location
c. Popup a list of tables for autocompletion of the table name you want to SELECT
2. Type out the table you want and move the cursor to the column set location, "SELECT ^* FROM MYTABLE WHERE"
3. Press CTRL-ALT-C --- this will ...
a. Introduce all of the columns for the TABLE you have typed in a comma separated list in the order of definition
4. At this point you have "SELECT EMPLOYEEID, NAME, SALARY, TITLE, CREATEDDATE FROM MYTABLE WHERE"
5. You can now finish your statement

All of the Automation functionality is in the Automate pull down menu.

Home Screenshots Downloads Documentation Support Licensing Contact Copyright© 2001-2006 AquaFold, Inc. All Rights Reserved