Translate

Tuesday, September 25, 2012

DATA WAREHOUSING AND MINIG ENGINEERING LECTURE NOTES--Query tools and implementation:


Query tools and implementation:

QweryBuilder is an SQL Query Tool that implements innovative ideas to provide simple quick, accurate and efficient access to a database for a rich ad-hoc query experience. You can extract and update data without writing a line of SQL. Database developers can create ad-hoc queries, procedures, tables, views and triggers. Works with Sybase ASE and Sybase Adaptive Server Anywhere.

Advanced Query Tool (AQT) is a Microsoft Windows based SQL query software tool used to administer and execute 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.

Functionality

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.

 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.

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 within the same window.

GUI Query Builder

The GUI Query Builder allows building SQL queries with point and click simplicity, which is handy for novice SQL programmers.

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

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.

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.

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.

Scripting Feature

AQT allows creation and execution of scripts that allow instructions, parameters to be passed as part of a script file which can be run in interactive mode or in unattended mode. For example, a script may be created to export results of a query to a file, with a current date and a filename that is prompted for from the user.

 

No comments:

Post a Comment