DBQT - Database Query Tool Manual 1/11. Manual DBQT. Database Query Tool. Document Version: 08-03-17. 2008 unu.ch

Similar documents
Installation Guide v3.0

Last updated: 10/02/2009. SQL Info Pack. for new or existing PATGuard users who are considering SQL database formats for their PAT records. Rev 1.

Installing The SysAidTM Server Locally

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

Migrating helpdesk to a new server

CRM Outlook Plugin Installation

Upgrading from Call Center Reporting to Reporting for Call Center

Upgrading from Call Center Reporting to Reporting for Contact Center. BCM Contact Center

FileMaker 12. ODBC and JDBC Guide

Quick Start Guide for the SupportDesk Web Interface

Gómez Script Recorder

Charter Business Desktop Security Administrator's Guide

SQL Server 2008 R2 Express Installation for Windows 7 Professional, Vista Business Edition and XP Professional.

Introduction and Overview

Install MS SQL Server 2012 Express Edition

FileMaker 11. ODBC and JDBC Guide

Working with SQL Server Integration Services

Issue Tracking Anywhere Installation Guide

AdminToys Suite. Installation & Setup Guide

Using DBMoto 7 in a Microsoft Windows Cluster

How to install and use the File Sharing Outlook Plugin

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

HYPERION SYSTEM 9 N-TIER INSTALLATION GUIDE MASTER DATA MANAGEMENT RELEASE 9.2

Download and Installation of MS SQL Server

Local Playback Software User Manual (V2.0)

4cast Client Specification and Installation

IMAP and SMTP Setup in Clients

Utilities ComCash

Analyzing Excel Data Using Pivot Tables

DiskPulse DISK CHANGE MONITOR

How to Install MS SQL Server Express

SENDING S & MESSAGES TO GROUPS

Outlook Connector. Version 2 User Manual. client-side plugin. Collaborate Using Outlook. Version 2.0.0

User Guide. emoney for Outlook

HSLAB Print Logger 5 Installation Guide

CompleteView Pop Up Monitor User s Manual. Version 3.8

Tivoli Endpoint Manager for Remote Control Version 8 Release 2. User s Guide

ReportBy ODBC Connection setup

Software Installation Requirements

There are numerous ways to access monitors:

Technical Bulletin. SQL Express Backup Utility

Suite. How to Use GrandMaster Suite. Exporting with ODBC

EventTracker: Support to Non English Systems

Virtual Office Remote Installation Guide

Deposit Direct. Getting Started Guide

Setting up a database for multi-user access

Table of Contents SQL Server Option

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Remote Backup Software User Manual V 2.0

atbusiness Deposit Installation Guide Table of Contents

Connect to MySQL or Microsoft SQL Server using R

Polar Help Desk Installation Guide

NETWRIX WINDOWS SERVER CHANGE REPORTER

Resources You can find more resources for Sync & Save at our support site:

Moving the TRITON Reporting Databases

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Table of Contents. 1. Overview Materials Required System Requirements User Mode Installation Instructions..

Getting Started using the SQuirreL SQL Client

NETWRIX CHANGE NOTIFIER

Viewing and Troubleshooting Perfmon Logs

INSTALLATION GUIDE. AXIS Camera Station

Crystal Reports Installation Guide

6 Oracle Business Activity Monitoring

Reporting for Call Center Set Up and Operations Guide

Remote Deposit Capture Installation Guide

MICROSOFT STEP BY STEP INTERACTIVE VERSION 3.0 ADMINISTRATION GUIDE

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

Printing Options. Netgear FR114P Print Server Installation for Windows XP

Appendix A How to create a data-sharing lab

Optimal Internet Explorer v6.0 Settings User Guide

7.x Upgrade Instructions Software Pursuits, Inc.

Managing MSDE with TOAD

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Aras Innovator.NET Client Security Policy Configuration

Installation & Configuration Guide Version 1.0. TekSMTP Version Installation & Configuration Guide

Internet Explorer Security Settings. Help Sheet. Client Services. Version 4 Definitive 21 July 2009

How To Set Up A Firewall Enterprise, Multi Firewall Edition And Virtual Firewall

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Table of Contents. 1.1 Description of DFM... 5

DBMoto 6.5 Setup Guide for SQL Server Transactional Replications

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Connecting LISTSERV to an Existing Database Management System (DBMS)

Stellar Phoenix. Access Database Repair 5.0 Installation Guide

TAMUS Terminal Server Setup BPP SQL/Alva

Team Foundation Server 2012 Installation Guide

Creating a Participants Mailing and/or Contact List:

Cloud Services ADM. Agent Deployment Guide

Using. Microsoft Virtual PC. Page 1

THANK YOU FOR INSTALLING CARBONITE SERVER BACKUP!

ScriptLogic Enterprise Security Reporter. VERSION 3 Installation Guide

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Setting Up ALERE with Client/Server Data

Backing up IMail Server using Altaro Backup FS

Manual. Traffic Exchange

Transcription:

1/11 DBQT Database Query Tool Document Version: 08-03-17

2/11 Table of Contents 1. INTRODUCTION... 3 2. SYSTEM REQUIREMENTS... 3 3. GRAPHICAL USER INTERFACE... 4 3.1 MENU BAR... 4 3.2 DATABASE OBJECTS TREE... 4 3.3 QUERY EDITOR... 4 3.4 RESULT GRID... 4 4. NEW DATABASE CONNECTION... 5 4.1 DATA LINK PROPERTIES DIALOG... 5 4.2 USER SPECIFIC CONNECTION DIALOGS... 8 4.2.1 SQL Server connection control... 8 4.2.2 MySQL connection control... 8 5. SAVE A DATABASE CONNECTION... 9 6. OPEN A DATABASE CONNECTION... 9 6.1 OPEN CONNECTION DIALOG... 9 7. EXECUTE A QUERY... 10 8. SAVE A QUERY... 10 9. OPEN A QUERY... 10 10. APPENDIX... 11 10.1 PRODUCT HOMEPAGE...11 10.2 DOWNLOADS...11

3/11 1. Introduction The Database Query Tool, from now on referred to as DBQT, has been developed for advanced users who want to analyze their databases with the help of SQL (Standard Query Language). It supports all common subsets of SQL such as DML (Data Manipulating Language) and DDL (Data Definition Language). With DBQT you can connect to nearly any kind of database system as for example: Microsoft SQL Server Microsoft Access Oracle MySQL etc. By default you can create a connection to any database which there is an OLE DB Provider installed for on your computer. Such an OLE DB connection will be created with the help of the Data Link Properties dialog that is an integral part of the Windows operating system. Moreover DBQT provides an interface that can be used to implement user-specific user controls for accessing any kind of database, on the only condition that there exists a managed.net Framework data provider for it. The implementation of such a user control can easily be done by any.net developer. That way it is possible to provide the possibility to create SQL Server connections using the native SqlClient data provider or it is possible to access MySQL databases with the help of the MySQL Connector/Net 5.1 database driver as well as it possible to attach Oracle databases using the OracleClient data provider for.net. 2. System requirements DBQT requires the Microsoft.NET Framework 2.0 (or higher) to be installed on the target computer. If the.net Framework is missing, DBQT will not be running. Furthermore, if you want to use the Data Link Properties dialog to create database connections, there are also needed the Microsoft Data Access Components (MDAC). You can find URLs from where you can download either one or both of these two components in the Appendix to this document. CPU Memory Operating System At least: Intel Pentium 400 MHz Recommended: Intel Pentium 1 GHz or better At least: 96MB Recommended: 512 MB or more Windows 2000, Windows XP or a newer version Free Disk Space 280 MB (x86) 610 MB (x64) for the.net Framework 2.0 5 MB for DBQT and its components Software Microsoft.NET Framework 2.0 or a newer version MDAC 2.8 or a higher version

4/11 3. Graphical User Interface The GUI is divided into four main areas: Fig. 1: GUI Areas 3.1 Menu bar The menu bar (yellow, area 1) contains the different menus that expose access to the different functions of the DBQT application. At the right end of the menu bar you ll find a dropdown list that includes the different possibilities to create a database connection. If not a.net developer has extended DBQT with one or more user-specific dialogs you will only be able to select the Data Link Properties Dialog entry from this dropdown list. Fig. 2: Dropdown list for creating a database connection 3.2 Database objects tree If available, the database objects tree (red, area 2) will display all of the objects of the connected database such as tables, views or stored procedures. 3.3 Query editor You will write your SQL statements which you want to execute against the connected database into the Query-editor (blue, area 3) whereat a syntax-highlighter will highlight SQL keywords like SELECT, UPDATE, etc. 3.4 Result grid After having executed a SELECT statement, the result set will be displayed within the Result grid (green, area 4).

5/11 4. New database connection To create a new database connection you can either go to the File menu and click the item named New Connection or you select your preferred connection dialog directly from the dropdown list that is located at the right end of the menu bar. But if not a.net developer has extended DBQT with one or more user-specific dialogs you will only be able to select the Data Link Properties Dialog entry from this dropdown list. Fig. 3: Choose your preferred connection dialog 4.1 Data Link Properties dialog By default DBQT only supports the Data Link Properties dialog that assists you in creating a new database connection. This dialog box exposes all the properties of all the OLE DB providers that are installed on your machine. It helps you configuring connection strings to data sources by using one of the installed OLE DB providers. The following two examples illustrate how a connection to a Microsoft SQL Server 2005 database and how a connection to a Microsoft Access database-file can be established. Example 1: Connecting to a Microsoft SQL Server 2005 database 1. In the Data Link Properties Dialog select the 1st tab named Provider. 2. In the OLE DB-Provider List select the entry Microsoft OLE DB Provider for SQL Server. 3. Click the Next >> button. 4. Within the Connection tab: a. Enter the name of the server where the database is hosted. b. Specify how you want to log on to the server (Windows NT integrated security or a specific user name and password combination). c. Select the database on the server. 5. Click the OK Button to finish DBQT is now connected to the specified database. Example 2: Connecting to a Microsoft Access database file (mdb) 1. In the Data Link Properties Dialog select the 1st tab named Provider. 2. In the OLE DB-Provider List select the entry Microsoft Jet 4.0 OLE DB Provider. 3. Click the Next >> button. 4. Within the Connection tab select the Access mdb-file by clicking the button. 5. Click the OK Button to finish DBQT is now connected to the specified database.

6/11 Fig. 4: Data Link Properties - Provider tab Fig. 5: Data Link Properties Connection tab for Microsoft SQL Server

7/11 Fig. 6: Data Link Properties Connection tab for Microsoft Access

8/11 4.2 User specific connection dialogs DBQT provides an interface named IConnectionUserControl that enables a.net developer to implement a user specific connection dialog that in addition to the Data Link Properties dialog can be used to configure and open database connections..net developers may want to have a look at the developer documentation how this can be done. The developer documentation can be downloaded from the following URL: http://www.unu.ch/dbqt/download/dbqt_developerdocumentation.pdf 4.2.1 SQL Server connection control If you want to use DBQT to connect to a Microsoft SQL Server database using the native (and much faster).net SqlClient data provider you can select the entry Microsoft SQL Server in the connection dropdown list. Selecting this entry will pop up a dialog that assists you in creating a new connection to a SQL Server database. Fig. 7: Create a SQL Server connection using the DBQueryTool.SQLServerConnectionControl 4.2.2 MySQL connection control You will find an entry named MySql in the connection dropdown list. Selecting this entry will pop up a dialog that assists you in creating a new connection to a MySQL database. Fig. 8: Create a SQL Server connection using the DBQueryTool.MySQLConnectionControl

9/11 5. Save a database connection Once you have created a database connection you can save it for later use. To save a database connection you can use the appropriate button in the toolbar or you can go to the File menu and click the item named Save connection. Then a dialog appears where you have the possibility to enter a description before you save the connection. Fig. 9: The Save Connection toolbar button 6. Open a database connection To open connection, you can use the appropriate button in the toolbar or you can go to the File menu and click the item named Open Connection which will pop up the Open connection dialog. Fig. 10: The Open Connection toolbar button 6.1 Open connection dialog The Open connection dialog is used to open a previously saved connection without the need to re-enter any connection parameters. To open a connection you have to select an entry from the list and then click the Open button. If you want to delete a connection from the list, you can select the row and just press the Del button on your keyboard. Fig. 11: The Open Connection dialog

10/11 7. Execute a query To execute a query that you have entered into the query editor you can either press the F5 short cut button or you go to the Query menu and click the item named Execute. If the query is of correct syntax and executes successfully, the result set will be displayed in the result grid area. 8. Save a query You can save a query to the file system when you want to use it again sometime later. To save a query you can use the appropriate button in the toolbar or you can go to the Query menu and click one of the items named Save or Save as. Fig. 12: The Save Query toolbar button 9. Open a query You open a query, you can use the appropriate button in the toolbar or you can go to the Query menu and click the item named Open which will pop up the Open query dialog. Fig. 13: The Open Query toolbar button

11/11 10. Appendix 10.1 Product homepage Please visit the product homepage at: http://www.unu.ch/dbqt 10.2 Downloads Microsoft.NET Framework 2.0: http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en Microsoft Data Access Components (MDAC): http://www.microsoft.com/downloads/details.aspx?familyid=6c050fe3-c795-4b7d-b037-185d0506396c&displaylang=de.net data provider for MySQL http://dev.mysql.com/downloads/connector/net/5.1.html