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

Aqua Data Studio provides an SQL formatter which may be easily accessed from the Query Analyzer. With a single key stroke (CTRL-B) the user may format an SQL statement according to a set of options. By default, the editor will prompt the user with a dialog of options for formatting. Application level settings for the formatter are located in File->Options:Formatter. In the options seciton a user may specify for the formatter to format SQL without prompting the user. The user may also format all SQL statements in a script with one key stroke (CTRL-Shift-B).

Options:

Line Break

  • Before Comma - Adds a line break before the comma
  • After Comma - Adds a line break after the comma
  • Before Logical Operators - Adds a line break before logical operators (e.g. AND, OR)
  • After Logical Operators - Adds a line break before logical operators (e.g. AND, OR)
  • After SQL Keywords - Adds a line break after SQL keywords (e.g. SELECT, FROM, WHERE)
  • Break for CASE Keywords - Adds line breaks for CASE keywords (i.e. CASE, WHEN, THEN, ELSE, END)
  • Break for Brackets - Adds line breaks for brackets in AND, OR and WHEN
  • Wrap Line - Wraps line automatically
  • Line Wrap Column - The maximum column before line wraps

Uppercase

  • SQL Keywords - Turns SQL keywords uppercase
  • Full SQL - Turns the full SQL statement uppercase

Indentation

  • Number of spaces per Tab - Number of spaces to expand in a TAB if Tabs are used for indentation
  • Use Tabs for Indentation - Determines whether a real TAB is used or whether a TAB is expanded to spaces
  • Alignment on Operators - Alignment on =, , > and AS
  • Alignment on JOIN - Alignment on table joins

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