Home. 
.

transparent

transparent

transparent

Streamline SQL Editing

The powerful and flexible DatabaseSpy® 2008 SQL Editor helps database managers accelerate SQL programming tasks.

Altova DatabaseSpy® 2008 includes a built-in Editor for SQL with specially designed, easy to use features to help you quickly and efficiently develop, test, and reuse SQL queries in all major relational databases. You can create and edit a single query, or you can assemble multiple SQL statements into complex SQL scripts.

DatabaseSpy SQL Editor Supported Databases

Details of the SQL database query language vary among implementations of relational database systems from different vendors. DatabaseSpy® 2008 supports multiple database types and automatically adapts its SQL Editor display and formatting to the following databases:

  • Microsoft® SQL Server® 2000, 2005
  • IBM DB2® 8, 9
  • IBM DB2 for iSeries® v4
  • IBM DB2 for zSeries® 8, 9
  • Oracle® 9i, 10g
  • Sybase® 12
  • MySQL® 4, 5
  • Microsoft Access™ 2003, 2007

Additionally, you can select and edit SQL configurations as illustrated in the SQL Formatting section below.

Download Click here to download a fully functional, free 30-day trial of Altova® DatabaseSpy® 2008!

DatabaseSpy SQL Editor Windows

The DatabaseSpy® 2008 SQL Editor is divided into a SQL statement window and one or more tabbed or stacked Result windows, with a convenient Execute button in the SQL Editor toolbar to let you immediately execute your SQL statements and view the output.

The SQL statement window applies color coding to each SQL statement with unique identification for SQL statements, parameters, operators, and comments to help you quickly and easily review and analyze an individual SQL query or a complex series of SQL commands. The DatabaseSpy® 2008 Options dialog even lets you set your own preferences for the fonts, sizes, and colors applied.



DatabaseSpy SQL Editor overview screenshot

The message tab located to the left of the tabs for the SQL query results provides information about each statement executed, including identification of any syntax errors.

Efficiently Edit Complicated SQL Queries

As you construct a new SQL query from scratch, the auto-completion feature prompts with options that match the correct syntax at each keyword of the statement.

You can limit the length of the suggestion list by enabling Context-Sensitive Suggestion, to view only items that are valid at your current cursor position within the SQL statement. You can also enable Single Mode to limit the display to one category at a time.

By default, the list of suggestions is sorted by type, but you can sort by name or path by clicking in the auto-completion window title bar. You can also use a keyboard shortcut to open the full list of suggestions before you even start typing a statement.



DatabaseSpy SQL Editor auto-completion pop-up

You can modify the list of suggestions offered in the DatabaseSpy® 2008 Auto-completion pop-up menu to create a list customized to your own preferences. The buttons in the toolbar at the bottom of the Auto-completion window let you configure its contents on the fly, enhancing efficiency as you work with complex SQL statements.

The DatabaseSpy® 2008 SQL Editor lets you organize long and complex groups of SQL statements by separating them into regions that can be individually collapsed or expanded, allowing you to easily focus on portions of the script of immediate interest. Regions can even be nested, and a handy button in the SQL Editor toolbar lets you hide or expand all regions with a single click.

If your SQL query creates multiple outputs, results are displayed in individually tabbed results windows. You can assign customized names to each tab, or even combine multiple results into a single window if you want, or stack the windows if you prefer.



DatabaseSpy SQL Editor with multiple stacked results

The DatabaseSpy® 2008 Result windows offer options to further refine output after you have executed SQL statements. A click on any column heading at the top of the window reorders output according to that column and the column heading separators can be dragged to adjust column widths. A button in the special toolbar above the Result window highlights the corresponding SQL statement in the SQL edit window to associate the statement with its output.



DatabaseSpy SQL Editor sorted by name column

DatabaseSpy® 2008 helps you avoid processing unneeded database queries while you develop and test complex scripts to run against your database. As you refine a portion of a long script, you can highlight and execute just the section you’re currently working on.



DatabaseSpy SQL Editor with selected individual SQL query

Navigation buttons in the SQL Editor toolbar let you step through the editing window statement-by-statement, opening any hidden regions as you go. The SQL Editor window also supports multiple open SQL queries and you can copy and paste between them. The unlimited undo/redo toolbar buttons let you freely experiment with various edits, yet recover an earlier version if you want.

Each SQL Editor window has a corresponding Properties helper window with information and parameters that can be edited. For instance, you might want to devise, refine, and execute a SQL query against a test database before committing changes to live data. Editing the database connection in the Properties window lets you easily redirect your query to the live database once it has been perfected.



DatabaseSpy SQL Editor SQL query properties

Save Your SQL Queries and Export Results

Whether working on a single query or a long SQL script, DatabaseSpy® 2008 makes it easy to save your work in progress and the results of your work. The File menu offers open and save options, and the Project menu lets you add files containing SQL queries to a DatabaseSpy® 2008 project, so you can conveniently associate SQL queries with database connections and reload the project in a single step.

You can also easily export the results of any SQL query. A click on the Export button above the SQL Editor window opens the export dialog, with your query preloaded as the source.



DatabaseSpy SQL Editor Export button



DatabaseSpy SQL Editor export dialog

SQL Formatting

DatabaseSpy® 2008 includes options to let you customize the format of SQL statements based on the database SQL dialect and your own preferences.

SQL formatting configurations (shown below) are provided for each supported database. You can select a new configuration from the pull-down menu to easily apply different formatting when you switch databases.

DatabaseSpy SQL Editor SQL formatting dialog

Click image to enlarge / reduce database tool screenshot

SQL Refactoring

The SQL Editor Refactoring menu lets you reformat existing SQL statements and scripts, based on your current SQL formatting configuration and other preferences.



DatabaseSpy SQL Editor SQL refactoring menu

Experience all the productive features of the Altova DatabaseSpy® 2008 SQL Editor, Online Database Browser, and Graphical Database Designer for yourself – download a free 30-day trial today!



transparent
Download
Pricelist
Buy
Datasheet
Print
Mail
Digg
delicious
.

SQL Server Magazine Editors' Choice Awards

SQL Server Editors' Choice

Altova DatabaseSpy Named 2007 Editors’ Choice Award Winner by SQL Server Magazine.

.
.

Redmond Roundup Champion
Redmond Magazine Roundup Champion

.

Altova DatabaseSpy was chosen "best overall in terms of features" in a Redmond Magazine comparison of database tools!

.
.

transparent

transparent