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's Script Generator allows the user to generate SQL Scripts for objects in a database. To generate scripts:
  1. Launch the Script Generator dialog by:
    • Selecting Tools -> Script Generator from the Menu Bar OR
    • Selecting Tools -> Script Generator from the right-click pop-up menu on a database object in the Schema Browser
  2. Select a Database and Schema (or All Schemas)
  3. In the left panel, select one or more types of objects to be scripted.
    Click the green check button to select all and the red X button to deselect all.
  4. All objects matching the selected schema & object types will appear in the right panel. Select one or more objects to be scripted.
    Click the green check button to select all and the red X button to deselect all.
  5. Click Next to proceed to the Options tab
  6. Specify where to save the generated scripts
    • Save as
      • One File - All SQL Statements will be output to a single file.
      • One File Per Object - SQL Statements will be output to one file per object.
      • Preview Tab - All SQL Statements will be output to the Preview tab (for copy & paste)
    • Directory / File Name - If saving as one file, select the file to receive the output. If saving as one file per object, select the directory to contain the files.
    • Encoding - Allows user to select a character encoding for files
    • Platform - Select a platform (Windows or Unix)
  7. Select any appropriate options
    • Statement Separator - GO, /, ; or enter your own separator.
    • Object Quoted Identifier - none, [], "" or ''
    • Generate the CREATE - generate CREATE statements for the selected objects.
    • Generate the DROP - generate DROP statements for the selected objects.
    • Include Descriptive Header - include a header at the top of the file indicating the date, time, database, schema and names of objects contained in the file.
    • Sort By Dependencies - Output the objects in order to avoid dependency conflicts.
      e.g. if object A depends on object B, object B should be output before object A
    • Enable Identity Insert - SQL Server / Sybase only - If a table contains identity columns, place delimiting keywords to allow INSERT of data into these columns.
    • Tables: Script full table (Indexes, Triggers) - Output indexes and triggers for tables.
    • Include INSERT statements for data of Tables - Output data of Table objects as INSERT statements.
    • Qualify Objects - Fully qualify names of objects by including the Schema name.
    • Include blank line between statements - Include blank lines to improve format of output.
  8. Click Next to generate the scripts for the selected objects. The output process can be halted at any point by clicking Cancel.
  9. Click Close to close the dialog or click Previous to change selections and re-generate the scripts.

Script Generator Enhancements:
  • General
    • Added an extra option to allow the overwriting of current scripts instead of generating enumerated script names, when scripting one file per object.
    • Script Generator Dialog - Added "Reverse Selection" to object selection, to reverse the current selection.
Aqua Data Studio - Script Generator Menu
Aqua Data Studio - Script Generator General
Aqua Data Studio - Script Generator Options
Home Screenshots Downloads Documentation Support Licensing Contact Copyright© 2001-2006 AquaFold, Inc. All Rights Reserved