Understand Toad Connections. Dell Toad Data Point
Mainos
Mainos
Toad Data Point User Guide
Connect
18
OBDC driver Select an ODBC driver to use for this connection when creating cross-connection queries.
Tip: You can specify the ODBC driver to use for all connections for this database provider in Tools | Options
| Database | SQL Server.
4. Click Connect to save the connection and immediately connect to the database.
or
Click Save to save the connection without connecting to the database.
Tip: Connections are stored in the connections.xml file and can be found by clicking the
Application Data Directory link in Help | About.
To import connections (including Central Management Server connections)
1. Click .
2. Specify the location where the connections currently reside.
Note: Review the following for additional information on CMS connections: l
To import CMS connections, select a server from the list where the CMS is registered. The connection to this SQL Server instance should be created beforehand.
l
CMS is available beginning with Microsoft SQL Server 2008.
l
User should have an appropriate login (Windows Authentication and grant to connect to selected server are required) created on the server to which he connects via CMS.
3. Select the connections to be imported.
Understand Toad Connections
Review this topic to learn about open database connections in Toad.
Toad Open Connections
In Toad, an open connection in the Connection/Navigation Manager represents one or more actual connections to the database or data source. When you open a database connection in Toad: l
Toad creates an initial database connection for general use.
l
Toad also creates a separate database connection for each Editor (the first time you execute a statement) and for each Data tab in the Database Explorer (the first time you
Toad Data Point User Guide
Connect
19 select the tab and query data).
The connection associated with the window (or tab) remains open until you close the window. If a window has an associated connection, but a statement is not currently executing, the connection is in an inactive state.
To view information for an open connection l
To view the number of actual database connections that exist for a Toad connection, including the number of active connections, place the cursor over the connection in the Connection/Navigation Manager pane or in the connection drop-down list.
To use the Background Processes pane l
When a statement is executing, a progress bar displays in the Status bar located at the bottom of the Toad application window. Click the executing progress bar to open the
Background Processes pane.
l
To cancel statement execution, use the Background Processes pane.
Note: It is recommended that you cancel only your own processes, because terminating Toad activities could cause unexpected behavior.
Sharing a Connection Among Windows
You can instruct Toad to share an open connection among windows. In this way, the Editor windows and Data tabs can share the same connection when the connection is inactive.
To share a database connection among windows in Toad
1. Select Tools | Options | Editor | General.
2. Clear the checkbox for the Use individual connection for each open editor option.
3. When this option is not selected, Toad attempts to use a single connection for any new windows or query execution. For example, if you share a database connection, you can execute a query in the Editor, execute another query in a new Editor, and then select the Data tab from the same connection.
Lataa
Mainos