Product Home
DTM SQL editor Online Documentation Prev Page Prev Page
General
Product profile
Product versions
Database tools
Install software
Upgrade software
Uninstall software
System requirements
How to buy
Product features
User interface
Hot keys
SQL editor
Search and replace
Data export
SQL library
Results viewer
Connect
Quick Start
Direct Connection
Connect to Desktop File
Data Sources
DSN File
OLE DB Connection
Connection Profile
Connection Information
Troubleshooting Guide
Macros: definition and using
Database schema viewer
Find database object
Data editor
Schema object
Filter database schema
Version control
Command line options
Settings and options
SQL builder
SQL builder
Select type of the statement
Specity objects for select
Build WHERE cause
Select tables or views
Select one table or view
Select fields
Set or change values
ORDER BY and GROUP BY
Create table
Create index
Create view
Plug-ins and SDK
Plug-ins and SDK
Data structures
Plug-in sample, sources
Plug-ins Library
General information
Directory by DBMS
MS SQL Server
Run Query Analyzer
Oracle
Run SQL*Plus
General
Insert Module Header
External preprocessor
Run external tool
Run after script execution
Save/Load History
Send script by e-mail
Simply preprocessor
WinDiff interface
Directory by functions
Editor plug-ins
Insert Module Header
Run external tool
Run Oracle SQL*Plus
Run MS Query Analyzer
Send script by e-mail
Schema plug-ins
Results plug-ins
Common plug-ins
Run WinDiff
Save/Load Hisroty
Preporcessors
External preprocessor
Simply preprocessor
After execution plug-ins
Run after script execution
Information
Licence agreemnet
Technical support
Send feedback
FAQ and tips
Program tutorial
Troubleshooting guide
Glossary
SQL reference
SQL quick reference

Direct Database Connection

Direct Connection

The direct connection method allows you to connect to most popular databases (MS SQL Server, Oracle, Interbase/Firebird, MySQL, PostgreSQL and DB2).
Enter the server name and the database name, if required. The user name and password are optional. Their necessity depends on the settings of your database. The owner name (schema) is optional too. The list of visible database objects depends on the choice of the owner. If the owner is empty, you will access all objects. There is important that schema/owner name is case sensitive.
If you do not find the required database type in the list or cannot connect directly, use a connection through the predefined data source. If DBMS is in the list, but unavailable, it means that either the required ODBC driver is not installed or it is not configured properly.
During its use, the program stores the entered values of server names, users and owners. You can select a value from the stored list using the corresponding combo box. For some DBMS types (MS SQL, for example), the program can fill the list of available databases. Use the button with two arrows for this purpose.

Direct database connection panel

DBMS-specific connection options

Microsoft SQL Server
  • "(local)", empty or "." server name means local server
  • use <server name>\<instance name> syntax to identify instance. Example: .\SQLEXPRESS means SQL Express at the local system
Oracle

Use connect string for the Oracle Server that you want to access as a Server name.

Important: it is strongly recommended to use native Oracle Call Interface (OCI) instead of direct connection.

Interbase and Firebird
Examples:
  • Server: localhost and Database c:\interbase\myDb.fdb - connect to specified DB on local system.
  • Server: 172.17.2.10/3051 and Database /usr/local/db/myDb.fdb - connect to specified server with alternate port 3051 on remote system 172.17.2.10
MySQL
  • Use localhost for local MySQL
  • example.com;port=3306 means MySQL at example.com on 3306 port
DB2
ServerName;port=5000;protocol=TCPIP as a server name means connect to ServerName, use 5000 port and TCP/IP protocol.
PostgreSQL
ServerName as a server name means connect to ServerName, use 5432 port and TCP/IP protocol. Database name is required. localhost as a server name is acceptable.
server_name_or_ip-address;port=5432;DATABASE=dbname