Advanced Query Tool
From Wikipedia, the free encyclopedia
Advanced Query Tool | |
---|---|
Developed by | Cardett |
Latest release | 8.1.5 / January 03, 2007 |
OS | Microsoft Windows |
Genre | Software |
Website | querytool.com |
Advanced Query Tool (AQT) is a Microsoft Windows based SQL query software tool that facilitates the administration of, and executing queries against the most common database management systems. AQT is created by a small New Zealand software company, Cardett, and is distributed and supported through the Internet. AQT is designed for use by database administrators and developers.
Contents |
[edit] Architecture
AQT is a Windows application that uses ODBC to access the data, but is aware of the catalog structures of most common data bases. This sets it apart from most software tools that use ODBC. The ODBC catalog is very slow on large systems, but AQT directly queries the catalog meta data of well known data base management systems, which makes it very fast for exploring the data structures of enterprise size data bases.
Catalog awareness is accomplished by using configuration files for each flavor of DBMS to define the queries to run against the data base catalog meta data. There are also separate configuration files for the administration component.
Data Base Management Systems of which AQT is aware of the catalog structure include IBM DB2, Oracle, Microsoft SQL Server, Postgres, MySQL, Sybase, and Informix.
[edit] License
There are three levels of licensing of AQT: the free download version, which limits certain functionality, the Standard License, which allows most functionality, and the Extended License, which allows full use including the administration tools, data compare, and the data loader.
[edit] Functionality
[edit] Data Base Explorer
AQT allows multiple data base connections to be made. The connection can be made to any ODBC data base defined. For each connection there is a data base explorer window. The database explorer panel allows the user to display information about the data base objects in that data base. This is where AQT uses catalog queries rather than ODBC definition calls, which makes exploring data base meta data very fast.
[edit] SQL Editor
The SQL editor allows multiple statements, which can be run in order through a multiple statements dialog. There is a SQL formatter that makes hard to read SQL easier to read. The data base connection that will be the target of the SQL execution can be switched with a simple pull down. The results of the SQL go to a data window by default, but can also be directly exported to various file formats. Data base administrators find it useful to export the results of queries to another SQL window, which is useful for building and executing DDL using queries against the catalog meta data.
[edit] Data Window
In addition to simply displaying the results of a query, the data window allows the updating of the data in the window. The query results can also be exported to various file formats including MS-Excel spreadsheets, CSV files, plain text, insert statements, and HTML tables.
A recent sophisticated addition to the data window includes the ability to edit data in related tables. This allows the user to be editing a row of a table, and the rows of a child table that are related with in the same window.
[edit] GUI Query Builder
The GUI Query Builder allows building SQL queries with point and click simplicity, which is handy for novice SQL programmers.
[edit] Data Loader
AQT Extended Edition includes a data loader tool that makes it easy to load data into tables from various sources. The sources can be other tables on the same data base, a different data base, a completely different kind of data base (i.e. can load DB2 table from Oracle table), an Excel spreadsheet, a comma delimited (CSV) file, a flat file, or even a complicated query run against multiple tables. The data loader has tabs that allow mapping the source to target columns, and setting various options, such as commit frequency, and whether to add, update, or replace the target table.
[edit] Structure Compare
AQT can compare the structure of two tables from the same or different data base connections. The connections can even be of different types. For example, the structure of a DB2 table can be compared to the structure of an Oracle table. There are few data base administration tools that can do this with any ease.
[edit] Manage Authorities
From the Data Base Explorer screen, AQT Extended Edition enables data base administrators to grant and revoke privileges on data base objects with point and click techniques.
[edit] Data Compare
AQT Extended Edition can do a compare of all the data in a table to all the data in another tables. The tables can be on the same or different data bases. It can also do subsets of data, for example, the compare could be performed on the results of two queries, which can be real handy for verifying the results of SQL statements.
[edit] History
AQT was created by an IBM Mainframe DB2 DBA from New Zealand who was frustrated by the lack of good query tools for DB2. He developed AQT on the side until he was able sell enough copies of AQT to be able to leave his day job and develop AQT full time. The complete history of every change in the product is well documented in the "What's New" section of the help.