Home Home Screenshots Download Documentation Contact Licensing

Documentation: Aqua Data Studio 4.7     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. Informix
  VII. PostgreSQL
  VIII. MySQL
  Character sets
  Registering Servers
  I. MSDE 2000
  II. SQL Express 2005
  III. PostgreSQL SSL
  Application
  I. Browser & Scripting 
  II. Visual Editing
  III. SQL History
  IV. Shortcut Toolbar
  V. Options
  VI. Settings
  Query Window
  I. Basics
  II. Shortcut Keys
  III. Toolbar
  IV. Server Side Comments
  V. SQL Automation
  VI. Variable Binding
  VII. Results
  VIII. Save Results
  IX. Auto-completion
  X. SQL Formatter
  XI. Permissions
  XII. Parameterized
  Visual Explain Plan
  I. Basics
  II. Explain Plan
  III. Explain Diagram
  IV. Whiteboard
  Procedure Editor
  Tools
  I. Table Data Editor
  II. Script Generator
  III. ER Diagram
  IV. Query Builder
  V. Import Tool
  VI. Export Tool

  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

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 Copyright© 2001-2006 AquaFold, Inc. All Rights Reserved