Toad For SQL Server 5.6: Installation Guide
Toad For SQL Server 5.6: Installation Guide
This guide contains proprietary information protected by copyright. The software described in
this guide is furnished under a software license or nondisclosure agreement. This software
may be used or copied only in accordance with the terms of the applicable agreement. No
part of this guide may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying and recording for any purpose other than the
purchaser’s personal use without the written permission of Quest Software, Inc.
If you have any questions regarding your potential use of this material, contact:
www.quest.com
email: [email protected]
Refer to our web site for regional and international office information.
Trademarks
Quest, Quest Software, the Quest Software logo, Benchmark Factory, LiteSpeed, SQL
LiteSpeed, Toad, T.O.A.D., Toad World, and vToad are trademarks and registered trademarks
of Quest Software, Inc in the United States of America and other countries. For a complete
list of Quest Software’s trademarks, please see http://www.quest.com/legal/trademark-
information.aspx. Other trademarks and registered trademarks used in this guide are property
of their respective owners.
Server Requirements 7
Virtualization Support 8
User Requirements 8
Install Toad 9
Specify Application Data Directory Location 9
Install Toad Silently 11
Determine Which Installer to Use 11
Set Up Debugging 31
Configure CVS 39
Configure Subversion 45
System Requirements
Client Requirements
Before installing Toad, ensure that your client system meets the following minimum hardware
and software requirements:
Server Requirements
Before installing Toad, ensure that your server meets the following minimum hardware and
software requirements:
Cloud SQL Azure
Database Note: To connect to SQL Azure, you must have read access to the
Service master database.
SQL Server databases running on Amazon EC2
Virtualization Support
Application Limited testing has been performed for Citrix XenApp 5.0 support on
Virtualization Windows Server 2003.
Limited testing has been performed for Citrix support on Windows
Server 2003 Enterprise Server (Service Pack 2) using the MetaFrame
Presentation Server 5.0 and Citrix Presentation Server Clients 10.2.
See "Install Toad on Citrix Systems" (page 18) for more information.
Desktop Toad has been tested with Quest vWorkspace 7.0 running Windows 7
Virtualization Enterprise 32 bit.
(VDI)
Note: Toad may work in virtualization environments other than the ones in which it was
tested.
User Requirements
If an Administrator installs Toad, the Administrator can share the Toad shortcut icon on the
desktop and menu items with any user—a Power User, Restricted User, Vista standard user—
on the computer.
The following describes the requirements and restrictions for users who launch and run Toad:
l To run Toad, the .NET security policy must be set to Unrestricted. To modify the
security policy:
5. Select Evaluate Assembly from the list of tasks in the right panel, and locate
and select Toad.exe in the File field.
6. Click Next and set the permission to Unrestricted.
l To create or modify the QuestSoftware.ToadSecurity table to enable Toad Security,
the user who maintains this table must have privileges to create, insert, update, and
delete it. All other users need only the ability to read the QuestSoftware.ToadSecurity
table to use Toad Security features.
Install Toad
Note: Your Toad for SQL Server license key determines the edition and will enable Toad for
SQL Server functionality accordingly. In many cases, if functionality is disabled within Toad
for SQL Server, you may not have an appropriate license to use it. When Toad is running,
you can see which components are licensed by selecting Help | About.
To install Toad
Use the Registry setting method to change the application data directory from Roaming to
Local. Use the command switch method to change the location to any new path.
See the following table for default (Roaming) and resulting (Local) directory path.
Caution: All current Toad settings will be lost after applying this Registry setting unless you
manually copy the settings files from the default location (Roaming directory) to the new
location (Local directory). Copy the settings files BEFORE you add the Registry setting and
BEFORE opening Toad.
You can override the default Application Data directory by running toad with the
command switch:
Toad.exe --datadir="YourNewDirPath"
To instruct Toad to always use the new directory path, add the command switch and the new
directory path to a Toad desktop shortcut. Then use the desktop shortcut when opening Toad.
1. To add the command switch, right-click the Toad shortcut and select Properties.
2. Enter the command switch and add the directory path in quotes (replace
"YourNewDirPath" with your directory path).
Toad for SQL Server Installation Guide 11
Installation
Executable file Silent installation using the .exe file Silent installation using the
(.exe) has the following advantages: .exe file has the following
disadvantages:
l Verifies whether the
prerequisite software is l Cannot deploy
installed, and if not, redirects custom Toad
you to the download settings files or
location. license keys.
l Verifies whether a version of l Installer
Toad already exists on the automatically exits
target computer. If so, the if the prerequisite
executable uninstalls the software is not
previous version and then installed.
installs the current version.
2. For a standard installation with all features enabled, enter the following command:
“ToadInstaller.exe” /S
You can customize MSIEXEC command-line options and overrides for your
installation similar to the following command:
“ToadInstaller.exe” /S /Lx “C:\temp\installLog.txt”
INSTALLDIR=”Drive:\your_install_path” USERNAME=”some_user”
COMPANYNAME=”your_company” ALLUSERS=1
Use the following descriptions to customize the command-line options and overrides
for your installation.
Command-Line Options
Option Description
You can specify the following values to override Toad’s default installation options.
Enclose each value in double quotations.
Option Description
Notes:
l All default installation option overrides are case-sensitive.
l Enclose all values (except for the ALLUSERS value) in double quotations.
Toad for SQL Server Installation Guide 14
Installation
The Quest Installer can be launched in "extraction mode," which allows you to extract the
Toad for SQL Server MSI installer.
Note: You do not need to install the Quest Installer on any of the computers where you
are silently installing Toad products. The Quest Installer is only used to extract the
required MSI files.
1. Run Toad from the command prompt and include the command-line switch "/extract".
"ToadInstaller.exe" /extract
2. The Quest Installer launches in extract mode. In the Extract Location page, specify a
target location for the extracted files by entering or browsing to a directory.
3. In the Product Selection page, select the products that you want to extract.
The Finish page has a link to the directory into which the files were extracted and a
link to the log file for the extraction process (Readme.txt). The extraction log contains
verification of the files that have been extracted along with the command-line
switches required for performing the default installation. You must run the installers in
the order specified.
You can create a Microsoft transform (.mst) file that deploys the license key, custom settings,
and connections for users when performing a silent install using the .msi file. You can also
use the .msi file to perform a basic silent install using the default directory (or install to a
different directory) and to specify command-line options and default installation overrides.
See "Perform Silent Installation Using MSI" (page 16) for more information if you are not
creating a transform file.
Note: (MSI installs on Windows Vista and 7) If you are using MSI to install Toad on
Windows Vista or 7 with UAC enabled, you can install a file that adds a "Run as
administrator" option when right-clicking the MSI
file: http://www.symantec.com/connect/downloads/msi-run-administrator-context-menu-vista
The following procedure uses the Wise Installer to create the transform file.
Toad for SQL Server Installation Guide 15
Installation
1. Save and install the ToadInstaller.msi file on a computer where the Wise for Windows
Installer is installed. After customizing Toad settings, you will use the Wise Installer
to create the transform file.
2. Open Notepad, and do the following:
a. Enter the license key in the first line.
b. Enter the site message in the second line. The file should look similar to the
following:
AAABBBBCCCCCCEDXDWLMV0WJ9-123-45678-B2
Quest Software
c. Save the file with license.key as the file name in the Toad install directory.
Make sure the file extension is .key not .txt.
3. Launch Toad. The application should open without prompting you to enter a
license key.
4. Select Tools | Configuration Wizard from the Toad menu and complete the
Configuration wizard. This wizard creates an initial settings file (Settings.xml).
5. Select Tools | Options from the menu in Toad to open the Options window.
6. Select each page in the window and set any options you want to deploy. These
options create a module settings folder and files.
7. Select View | Connection Manager from the menu in Toad to open the
Connection Manager.
8. Create any connections you want to deploy.
10. Create the Microsoft Transform file, using any appropriate tool. The following steps
describe how to use the Wise for Windows Installer to create the file.
a. Select File | New.
b. Select Custom Templates under Categories, and then select the Transform
template in the New Installation File window.
c. Select the ToadInstaller.msi file in the Select the .MSI file to base this
transform on window.
d. Save the project.
e. Select Files from the Feature Details view.
Toad for SQL Server Installation Guide 16
Installation
f. Locate the following files and click Add to add them to the project:
1. At a Windows command prompt, switch to the drive or directory where the msi
installer for Toad is located.
2. For a standard installation with all features enabled, enter the following command:
“ToadInstaller.msi” /q
You can customize command-line options and overrides for your installation similar
to the following:
msiexec /i “ToadInstaller.msi” INSTALLDIR= “Drive:\your_install_
path” /q USERNAME=”some_user” COMPANYNAME=”your_company”
ApplicationUsers=”AllUsers”
Toad for SQL Server Installation Guide 17
Installation
Command-Line Options
Option Description
You can specify the following values to override Toad’s default installation options.
Enclose each value in double quotations.
Option Description
Option Description
Notes:
l All default installation option overrides are case-sensitive.
l Enclose all values (except for the ALLUSERS value) in double quotations.
Note: Limited testing has been performed for Citrix XenApp 5.0 support on Windows
Server 2003.
4. During installation, select the Anyone who uses this computer checkbox when
prompted.
Toad for SQL Server Installation Guide 19
Installation
Note: Although you must install Toad on every server in the Citrix farm, you only
need to publish Toad once.
Uninstall Toad
If you uninstall Toad, it may not uninstall completely. When you use Toad, you create new
files such as SQL scripts, data output, or temp files, etc. The following types of files are not
removed when you uninstall:
You can uninstall Toad for SQL Server by using the Quest Installer or by using the Windows
Add/Remove Programs (or Uninstall a program) feature. Quest Installer is the preferred way to
uninstall Toad for SQL Server.
1. Select Start | All Programs| Quest Software | Uninstall Quest Products. The Quest
Installer opens.
2. Select the product that you want to uninstall.
3. Click Uninstall.
Upgrade Toad
To upgrade Toad
1. Run the ToadInstaller.exe installation program from the DVD or downloaded file.
If you are upgrading from a previous version of Toad, you are prompted to migrate your
settings the first time you start Toad. The settings files include database connections, layout
customizations, shortcut keys, and options customized in the Options pages.
To migrate the settings again, remove or rename the current version's Application Data folder
and migrate the files from the previous version's Application Data folder.
Caution! Migrating settings from a previous version of Toad may overwrite new settings
files, implemented for the current release (for example, updated reports templates,
layouts, etc).
File Description
Folder Description
Register Toad
To register Toad
Site message Enter the site message included with the license key.
License Attributes
l SiteMessage—This is also provided by Quest, and typically contains the name of the
customer and other asset information.
2
Configuration
Tips:
l To view the number of actual database connections that exist for a Toad connection
and how many of those database connections are active, place the cursor over the
connection in the Connection Manager or the Connection toolbar.
l You can view the progress of statements executing in the background in a progress
bar located on the lower right side of the status bar. To cancel a script's execution,
click the progress bar to display the Background Processes window. It is
recommended to cancel only your own processes, as terminating Toad activities may
lead to unexpected behavior.
l If your database does not support executing multiple queries on a shared connection, a
dialog prompts you to either permanently associate the window with a new database
connection, cancel the previous operation, or add the query to a queue until the
current operation completes, and the execute it. If you place multiple queries in the
queue, each one executes in the order that it was added to the queue.
Note: Although you can share a database connection, any commits apply to the selected
window only.
Toad for SQL Server Installation Guide 24
Configuration
Category Select or create a category if you want to color code Editor tabs
for a specific connection. This can help differentiate between
development and production databases. You can also set an
option to color code the Object Explorer pane and object editor
windows (Create, Alter, Drop, etc.). Click here to view a
video of this feature.
Toad for SQL Server Installation Guide 25
Configuration
Advanced Description
Tab
4. Click Connect to save the connection and immediately connect to the database.
or
Tip: Connections are stored in the connections.xml file and can be found by clicking the
Application Data Directory link in Help | About.
Note: This topic focuses on information that may be unfamiliar to you. It does not include all
step and field descriptions.
Notes:
Issue Cause/Solution
Cannot specify a port Currently, Toad does not have a separate field for specifying
number when a port number.
connecting Solution:
You can connect if you know the port number for the
instance by entering the following in the Server name field
on the New Connection window:
ServerName,Port
or
IPAddress,Port
For example:
10.1.29.129,1234 (where 1234 is the port number of the
instance)
Issue Cause/Solution
Solution:
To enable remote connections, see "How to configure SQL
Server 2005 to allow remote connections" at:
http://support.microsoft.com/kb/914277
"Path is not of a legal You attempted to migrate settings from a previous install of
form" error message Toad to the current install, but the settings file
when connecting (InitialSqlServer.Sql) for the previous install was either
or removed, moved, or corrupt.
"Could not find a part You may also receive this error if you installed Toad and
of the path migrated settings from a previous version, and later
C:\Program Files\Quest uninstalled the previous version.
Software Solution:
\Toad for SQL You must specify a valid location for the InitialSqlServer.Sql
Server\Template\Scripts\ file in Toad.
InitialSqlServer.Sql"
error message when To specify a valid location
connecting
1. Open the SQL Server options page under Tools |
Options | Database | SQL Server.
2. Specify the location for the new install's
InitialSqlServer.Sql file in the Run Script on new
connection field.
By default, this file is located in the following directory:
C:\Program Files\Quest Software\Toad for SQL Server
version \Templates\Scripts
Note: Clicking may result in a "Path not found error". If
you receive this error, manually enter the location in the
field.
Cannot establish If you are trying to connect to the server using Named Pipes,
Named Pipes "Poll service status in connection list" option should be
connection cleared.
Solution:
1. Open the options page under Tools | Options |
Database | General.
2. Clear Poll service status in connection list checkbox.
Cannot establish Azure Failing to establish Azure connection may indicate that your
connection IP address is restricted from having access to the Azure
server.
Solutions:
1. Select Tools | Cloud Computing | SQL Azure Portal
to login to Azure Portal.
Toad for SQL Server Installation Guide 28
Configuration
Issue Cause/Solution
Debugging Prerequisites
Before configuring the Debugger, verify that the following prerequisites have been met:
l Check your security policy because it may include an access lock to the remote server.
Notes:
l Your server login must also be a member of the sysadmin role. This login can
be your Windows user account (Windows authentication), or a SQL Server
Toad for SQL Server Installation Guide 29
Configuration
To create a server login from your Windows account and add it to the
sysadmin role, a user who already has sysadmin privileges must execute
the following:
1. Install the SQL Server 2005 Workstation Component option of the SQL Server 2005
installation.
b. Copy and register the ssdebugps.dll (debugging host component) on both the
client and server. This file is located by default in the following directory on
the server where SQL Server 2005 is installed:
To register this file, open a command prompt and enter the following
command:
regsvr32 ssdebugps.dll
Note: If you are unable to locate this file, you can run the remote debugging
setup component (rdbgsetup.exe). This file is located by default in the
following directory on the server where SQL Server 2005 is installed:
l Your server login must also be a member of the sysadmin role. This login can
Toad for SQL Server Installation Guide 30
Configuration
To create a server login from your Windows account and add it to the
sysadmin role, a user who already has sysadmin privileges must execute
the following:
1. Make sure that SQL Server 2000 with Service Pack 3 or Service Pack 4 is installed on
the server.
2. Install the SQL Server Client Tools on the Toad client.
To register these files, open a command prompt and enter the following
commands:
regsvr32 sqldbg.dlls
qldbreg2.exe /RegServer
Note: The Remote Procedure Call (RPC) service should be started on both the
Toad client and server.
Toad for SQL Server Installation Guide 31
Configuration
l Your server login must also be a member of the sysadmin role. This login can
be your Windows user account (Windows authentication), or a SQL Server
login (SQL Server authentication).
To create a server login from your Windows account and add it to the
sysadmin role, a user who already has sysadmin privileges must execute
the following:
l DCOM Access permissions must be granted for the system account and the
group or user who needs access.To verify permissions:
a. Open a command prompt and run dcomcnfg.exe.
b. Expand Component Services, Computers.
c. Right-click My Computer and select Properties.
d. Select the COM Security tab.
Set Up Debugging
The Debugger Setup wizard checks your database library and settings files on both the server
and client system to identify conflicts with the Debugger.
l DLL version (determines whether Toad has permission for their verification)
l COM registration
l DCOM support
Toad for SQL Server Installation Guide 32
Configuration
l DLL version
l COM registration
l DCOM support
» Select Debug | Debugger Setup Wizard from the menu in an open Editor window.
Important: See "Troubleshoot Version Control" (page 52) for more information about issues
when upgrading version control from a previous version.
Prerequisites
You must install a supported version control client on the computer where Toad is
installed. The following table lists the supported version control providers and the versions
tested with Toad.
on Windows Notes:
Note: Toad only l Toad only supports Subversion 1.5.6 or
supports later.
Subversion 1.5.6
or later. l Any Subversion client must have svn.exe
in its installation directory to use version
control in Toad.
l Tortoise SVN is no longer supported in
Toad because it no longer includes svn.exe
in its installation directory.
See "Configure Subversion" (page 45) for more
information.
Team TFS 2005, 2008, Visual Studio (2005, 2008, 2010) Team Explorer
Foundation 2010 Client
Server See "Configure TFS or VSS" (page 33) for more
(TFS) information.
Note: Toad connects to your version control system based on login information included
in the configuration. Your version control client does not need to run for Toad to
connect.
Notes:
l If you want to place database objects under version control, you must configure
version control for objects using the Object Explorer. Once configured, you can also
manage SQL scripts in the Object Explorer. The main advantage of managing scripts
in the Object Explorer is that you can easily share them with team members who have
version control configured.
l If you do not want to manage version controlled scripts from the Object Explorer, you
must create a separate version control configuration from the Editor.
l If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control. This newly renamed object does not have any history associated with it.
l Currently, CLR objects are not supported by version control.
Toad for SQL Server Installation Guide 34
Configuration
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
version control clients and supported versions.
2. Open an Editor window.
3. Right-click anywhere in the toolbar area and select Version Control to display the
Version Control toolbar.
Tip: You can also access version control functionality from the File | Version
Control menu when the Editor window has focus.
Version Description
Control
System Page
Properties (TFS only) Click this button (beside the Type field) and specify
the workspace name for the provider in the Team Foundation
Server Properties window.
User Enter login information for the version control provider and
name/ click Login.
Password Note: For TFS only, if you leave the user name and password
fields blank, Toad uses your default Windows credentials.
Version Description
Control
Settings
Toad for SQL Server Installation Guide 35
Configuration
Page
Version Select the folder on the version control server where you want to
control check the scripts in.
folder If you already have the Editor-managed scripts under version
control, select the folder on the server where these scripts are
located.
Notes:
l Version control automatically checks out the scripts in
this folder and any subfolders to the location you specify
in the Working folder field.
l If you are managing SQL scripts from the Editor instead
of the Object Explorer, make sure the version control
folder used for Editor-managed scripts is different from
the one used for objects and scripts managed in the
Database Explorer.
Working Select the root repository folder on the client computer to use as
folder the default working folder for checking SQL scripts out.
If you already have Editor-managed SQL scripts under version
control, select the existing working folder for these.
6. See "Add Scripts Using the Editor" in the Toad help for more information.
Tips:
l You can view revision history and revision comments for a script from the History
tab; and can also right-click a revision to send it to the Diff Viewer to compare
differences.
l You can enable, disable, or delete a version control configuration under Tools |
Options | Version Control | General.
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, avoid checking scripts in automatically when
executing a script in the Editor, disable or delete a version control configuration, etc.,
from Tools | Options | Version Control | <options page>.
To configure TFS or VSS to work with objects and SQL scripts in the Object Explorer
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
Toad for SQL Server Installation Guide 36
Configuration
2. Right-click one or more objects in the Object Explorer and select Version Control |
Version Control Wizard.
Configuration Description
Type Page
User name/ Enter login information for the version control provider and
Password click Login.
Note: For TFS only, if you leave the user name and
password fields blank,Toad uses your default Windows
credentials.
Toad for SQL Server Installation Guide 37
Configuration
Version Select the folder on the version control server where you
control folder want to check objects and scripts in.
If you already have objects or scripts under version control,
select the folder on the server where these objects or scripts
are located.
Notes:
l Version control automatically checks out objects or
scripts in this folder and any subfolders to the
location you specify in the Working folder field.
l If you are managing SQL scripts from the Editor
instead of the Object Explorer, make sure the version
control folder used for Editor-managed scripts is
different from the one used for objects and scripts
managed in the Database Explorer.
Create/Change Specify the default format to use for objects. Objects are
file name archived as script files in the version control provider.
formats To change the default order, delete the default format and
click + to select the order.
Use default Clear this checkbox to override default folders for actions,
mode such as create or alter scripts for each object (recommended
for objects that are already under version control).
4. Complete the wizard and add objects to version control. Depending on the number of
objects selected, this process may take time.
Note: If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control This newly renamed object does not have any history associated with it.
Toad for SQL Server Installation Guide 38
Configuration
The following indicators display in the top-right corner of any object under
version control:
If version control is configured but an indicator does not display, open the Object
Options page in Tools | Options | Version Control | Objects and select the
checkbox for that object.
5. Use the right-click menu to check files in/out, get the latest version, update the status,
and other actions.
Tips:
l You can use the Script tab in the Object Details pane to view revision information
about each script and historical create/alter scripts (initially collapsed). You can also
right-click a revision date to compare differences or update version control history.
See Compare Revisions in the Toad help for more information.
l You can view history for the last 100 check in operations by selecting History in the
Object Explorer. The History folder/node is read-only, and you cannot perform any
actions on the objects using it. Also, the Object Details pane remains empty when the
History folder/node is selected.
Toad for SQL Server Installation Guide 39
Configuration
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, adding or removing objects from version
control, disable or delete a version control configuration, etc., from Tools | Options |
Version Control | <options page>.
Configure CVS
You can configure version control to work with SQL scripts in the Editor, or you can
configure it to work with database objects and SQL scripts in the Object Explorer. See
"Troubleshoot Version Control" (page 52) for more information.
Notes:
l If you want to place database objects under version control, you must configure
version control for objects using the Object Explorer. Once configured, you can also
manage SQL scripts in the Object Explorer. The main advantage of managing scripts
in the Object Explorer is that you can easily share them with team members who have
version control configured.
l If you do not want to manage version controlled scripts from the Object Explorer, you
must create a separate version control configuration from the Editor.
l If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control. This newly renamed object does not have any history associated with it.
l Currently, CLR objects are not supported by version control.
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
version control clients and supported versions.
3. Right-click anywhere in the toolbar area and select Version Control to display the
Version Control toolbar.
Tip: You can also access version control functionality from the File | Version
Control menu when the Editor window has focus.
Version Description
Control
System Page
Properties Click this button (beside the Type field) and complete the
following in the Command Based Version Control Properties
window:
l BinaryPath—Enter the path where the CVS client is
installed. For example, if you installed CVSNT, you
would enter:
C:\Program Files\CVSNT
l BranchRevision—Leave this field blank if you are
working from the trunk in version control. If you are
working from a branch, enter the branch number or name
in this field.
Caution: Specifying HEAD for the BranchRevision
parameter can cause errors. Leave the parameter blank
when working with the HEAD revision.
Server Select the existing working folder for the version control
repository or specify the server string. For example, if you are
connecting using pserver, you should specify the server string as
follows:
:pserver:MyServer:Port:/MyWorkingRepository
Default Description
Version
Control
Settings
Page
Version Select the folder on the version control server where you want to
control check the scripts in.
folder If you already have the Editor-managed scripts under version
control, select the folder on the server where these scripts are
located.
Notes:
l Version control automatically checks out the scripts in
this folder and any subfolders to the location you specify
in the Working folder field.
l If you are managing SQL scripts from the Editor instead
of the Object Explorer, make sure the version control
folder used for Editor-managed scripts is different from
the one used for objects and scripts managed in the
Database Explorer.
Working Select the root repository folder on the client computer to use as
Toad for SQL Server Installation Guide 41
Configuration
6. See "Add Scripts Using the Editor" in the online help for more information.
Tips:
l You can view revision history and revision comments for a script from the History
tab; and can also right-click a revision to send it to the Diff Viewer to compare
differences.
l You can enable, disable, or delete a version control configuration under Tools |
Options | Version Control | General.
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, avoid checking scripts in automatically when
executing a script in the Editor, disable or delete a version control configuration, etc.,
from Tools | Options | Version Control | <options page>.
To configure CVS to work with objects and SQL scriptsin the Object Explorer
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
version control clients and supported versions.
2. Right-click one or more objects in the Object Explorer and select Version Control |
Version Control Wizard.
Configuration Description
Type Page
Properties Click this button (beside the Type field) and complete the
following in the Command Based Version Control Properties
window:
l BinaryPath—Enter the path where the CVS client is
installed. For example, if you installed CVSNT, you
would enter:
C:\Program Files\CVSNT
l BranchRevision—Leave this field blank if you are
working from the trunk in version control. If you are
working from a branch, enter the branch number or
name in this field.
Server Select the existing working folder for the version control
repository or specify the server string. For example, if you
are connecting using pserver, you should specify the server
string as follows:
:pserver:MyServer:Port:/MyWorkingRepository
User name/ Enter your CVS command-line user name and password and
Password click Login.
Note: The User name field is optional.
Version Select the folder on the version control server where you
control folder want to check objects and scripts in.
If you already have objects or scripts under version control,
select the folder on the server where these objects or scripts
are located.
Notes:
l Version control automatically checks out objects or
scripts in this folder and any subfolders to the
location you specify in the Working folder field.
Toad for SQL Server Installation Guide 43
Configuration
Create/Change Specify the default format to use for objects. Objects are
file name archived as script files in the version control provider.
formats To change the default order, delete the default format and
click + to select the order.
Use default Clear this checkbox to override default folders for actions,
mode such as create or alter scripts for each object (recommended
for objects that are already under version control).
4. Complete the wizard and add objects to version control. Depending on the number of
objects selected, this process may take time.
Note: If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control This newly renamed object does not have any history associated with it.
The following indicators display in the top-right corner of any object under
version control:
If version control is configured but an indicator does not display, open the Object
Options page in Tools | Options | Version Control | Objects and select the
checkbox for that object.
5. Right-click one or more objects in the Object Explorer to check them in/out, get the
latest version, update the status, and other actions.
Toad for SQL Server Installation Guide 44
Configuration
6. If you configured version control for database objects, you can also version control
SQL scripts using the Scripts tab (tab view or drop-down list mode) in the Object
Explorer, as illustrated in the following example:
Server Scripts Creates and manages SQL scripts that apply to all databases on
folder/node a server.
Note: This folder/node is only available if you configured
version control at the server level.
Tips:
l You can use the Script tab in the Object Details pane to view revision information
about each script and historical create/alter scripts (initially collapsed). You can also
right-click a revision date to compare differences or update version control history.
Toad for SQL Server Installation Guide 45
Configuration
l You can view history for the last 100 check in operations by selecting History in the
Object Explorer. The History folder/node is read-only, and you cannot perform any
actions on the objects using it. Also, the Object Details pane remains empty when the
History folder/node is selected.
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, adding or removing objects from version
control, disable or delete a version control configuration, etc., from Tools | Options |
Version Control | <options page>.
Configure Subversion
You can configure version control to work with SQL scripts in the Editor, or you can
configure it to work with database objects and SQL scripts in the Object Explorer. See
"Troubleshoot Version Control" (page 52) for more information.
Notes:
l If you want to place database objects under version control, you must configure
version control for objects using the Object Explorer. Once configured, you can also
manage SQL scripts in the Object Explorer. The main advantage of managing scripts
in the Object Explorer is that you can easily share them with team members who have
version control configured.
l If you do not want to manage version controlled scripts from the Object Explorer, you
must create a separate version control configuration from the Editor.
Toad for SQL Server Installation Guide 46
Configuration
l If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control. This newly renamed object does not have any history associated with it.
l Currently, CLR objects are not supported by version control.
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
version control clients and supported versions.
3. Right-click anywhere in the toolbar area and select Version Control to display the
Version Control toolbar.
Tip: You can also access version control functionality from the File | Version
Control menu when the Editor window has focus.
Version Description
Control
System Page
Properties Click this button (beside the Type field) and complete the
following in the Command Based Version Control Properties
window:
l BinaryPath—Enter the path where the Subversion client
that contains svn.exe is installed. For example, if you
installed the CollabNet Subversion Client, you would
enter:
C:\Program Files\CollabNet Subversion Client
Note: Do not include svn.exe in the path.
l BranchRevision—Leave this field blank if you are
working from the trunk in version control. If you are
working from a branch, enter the branch number or name
in this field.
Important: Specifying HEAD for the BranchRevision
parameter can cause errors. Leave the parameter blank
when working with the HEAD revision.
Toad for SQL Server Installation Guide 47
Configuration
Server Select the existing working folder for the version control
repository or specify the server string (for example:
svn://MyServer).
Default Description
Version
Control
Settings
Page
Version Select the folder on the version control server where you want to
control check the scripts in.
folder If you already have the Editor-managed scripts under version
control, select the folder on the server where these scripts are
located.
Notes:
l Version control automatically checks out the scripts in
this folder and any subfolders to the location you specify
in the Working folder field.
l If you are managing SQL scripts from the Editor instead
of the Object Explorer, make sure the version control
folder used for Editor-managed scripts is different from
the one used for objects and scripts managed in the
Database Explorer.
Working Select the root repository folder on the client computer to use as
folder the default working folder for checking SQL scripts out.
If you already have Editor-managed SQL scripts under version
control, select the existing working folder for these.
6. See "Add Scripts Using the Editor" in the Toad help for more information.
Tips:
l You can view revision history and revision comments for a script from the History
tab; and can also right-click a revision to send it to the Diff Viewer to compare
differences.
Toad for SQL Server Installation Guide 48
Configuration
l You can enable, disable, or delete a version control configuration under Tools |
Options | Version Control | General.
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, avoid checking scripts in automatically when
executing a script in the Editor, disable or delete a version control configuration, etc.,
from Tools | Options | Version Control | <options page>.
To configure Subversion to work with objects and SQL scripts in the Object Explorer
1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 32) for more information about tested
version control clients and supported versions.
2. Right-click one or more objects in the Object Explorer and select Version Control |
Version Control Wizard.
3. Review the following for additional information:
Configuration Description
Type Page
Properties Click this button (beside the Type field) and complete the
following in the Command Based Version Control Properties
window:
l BinaryPath—Enter the path where the Subversion
client that contains svn.exe is installed. For example,
Toad for SQL Server Installation Guide 49
Configuration
Server Select the existing working folder for the version control
repository or specify the server string (for example:
svn://MyServer).
Version Select the folder on the version control server where you
control folder want to check objects and scripts in.
If you already have objects or scripts under version control,
select the folder on the server where these objects or scripts
are located.
Notes:
l Version control automatically checks out objects or
scripts in this folder and any subfolders to the
location you specify in the Working folder field.
l If you are managing SQL scripts from the Editor
instead of the Object Explorer, make sure the version
control folder used for Editor-managed scripts is
different from the one used for objects and scripts
managed in the Database Explorer.
Create/Change Specify the default format to use for objects. Objects are
file name archived as script files in the version control provider.
formats To change the default order, delete the default format and
click + to select the order.
Use default Clear this checkbox to override default folders for actions,
mode such as create or alter scripts for each object (recommended
for objects that are already under version control).
4. Complete the wizard and add objects to version control. Depending on the number of
objects selected, this process may take time.
Note: If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control This newly renamed object does not have any history associated with it.
The following indicators display in the top-right corner of any object under
version control:
If version control is configured but an indicator does not display, open the Object
Options page in Tools | Options | Version Control | Objects and select the
checkbox for that object.
5. Right-click one or more objects in the Object Explorer to check them in/out, get the
latest version, update the status, and other actions.
6. If you configured version control for database objects, you can also version control
SQL scripts using the Scripts tab (tab view or drop-down list mode) in the Object
Explorer, as illustrated in the following example:
Toad for SQL Server Installation Guide 51
Configuration
Server Scripts Creates and manages SQL scripts that apply to all databases on
folder/node a server.
Note: This folder/node is only available if you configured
version control at the server level.
Tips:
l You can use the Script tab in the Object Details pane to view revision information
about each script and historical create/alter scripts (initially collapsed). You can also
right-click a revision date to compare differences or update version control history.
Toad for SQL Server Installation Guide 52
Configuration
l You can view history for the last 100 check in operations by selecting History in the
Object Explorer. The History folder/node is read-only, and you cannot perform any
actions on the objects using it. Also, the Object Details pane remains empty when the
History folder/node is selected.
l You can modify current settings, including whether to require comments when
checking objects and scripts in or out, adding or removing objects from version
control, disable or delete a version control configuration, etc., from Tools | Options |
Version Control | <options page>.
Troubleshoot Upgrades
For this release, the back-end of version control has been rewritten. If you previously used
version control in Toad, the following may occur:
l If you migrate settings when upgrading Toad, you may have to reconfigure the
repository setting in version control if a "Failed to open the settings for module
VersionControl reverting to defaults" error displays. To reconfigure the repository,
select Tools | Options | Version Control | Defaults and select the previous repository
in the Version control folder field. Your previous project settings are applied.
l In previous releases, the method Toad used to generate the script was different than
the current method. After upgrading Toad, a message may display stating that objects
or files in version control are different than the local version. If your local version is
current, you should check the objects or files into version control.
Toad for SQL Server Installation Guide 53
Configuration
VSS Issues Description
Language VSS 6.0 uses ANSI strings. Consequently, the English-encoded VSS
support server and client do not handle certain characters in other languages.
This issue may also exist on previous or later VSS language
installations.
System If a message stating that, “The system cannot find the file specified”
cannot displays, this usually means that the CVS executable cannot be found
find file in the path you specified in the BinaryPath field of the Command
Based Version Control Properties window. Verify that cvs.exe exists in
the directory you specified in this field
Command When executing CVS commands, user input is not allowed. This
execution presents an issue when the user is using CVS with the SSH method and
must enter a password to establish the Secure Shell.
Workaround:
Generate identity keys that automatically authenticate between the
client and the server when connecting with SSH.
Subversion Description
Issues
System If a message stating that, “The system cannot find the file specified”
cannot displays, this usually means that the Subversion executable cannot be
find file found in the path you specified in the BinaryPath field of the
Command Based Version Control Properties window. Verify that
svn.exe exists in the directory you specified in this field
Command When executing Subversion commands, user input is not allowed. This
execution presents an issue when the user is using Subversion with the SSH
method and must enter a password to establish the Secure Shell.
Workaround:
Generate identity keys that automatically authenticate between the
client and the server when connecting with SSH.
Object Description
Issues
Adding When you add multiple objects to version control, the objects are
Toad for SQL Server Installation Guide 54
Configuration
multiple grouped and added in batches (for example, all the tables for a
objects particular schema are added at once). If an error (for example, failure to
support Korean characters) causes this command to fail, none of the
objects are added.
Canceled SQL scripts remain checked out if a change was made to the text, but
check-in check-in was canceled during the prompt for a check-in comment. This
behavior is by design—that is; the user can either undo the checkout or
check in the script using the right-click menu in the Scripts
node/folder/tab of the Object Explorer.
Note: If you alter the object again, you receive a prompt to use the
“locally changed” script. Click Yes to use the locally changed copy;
click No to refresh the local copy from the source repository; click
Cancel to cancel the prompt.
Appendix: Contact Quest
View the Global Support Guide for a detailed explanation of support programs, online
services, contact information, policies and procedures. The guide is available at:
http://support.quest.com.
Toad Community
Get the latest product information, find helpful resources, and join a discussion with the Toad
for SQL Server team and other community members. Join the Toad for SQL Server
community at http://toadforsqlserver.com/index.jspa.
See our web site for regional and international office information.
Toad for SQL Server Installation Guide 56
Contact Quest Support
M
A
mst file 14
application virtualization 8
P
C
Product Licenses 22
Citrix
R
install 18
requirements
requirements 8
Citrix 8
client requirements 5
client 5
connections
virtualization 8
create SQL Azure 24
S
create SQL Server 24
server virtualization 8
share for all session windows 23
silent install 11
troubleshoot SQL Server 26
create transform file 14
understand 23
Microsoft installer (MSI) 14
contact support 55
prerequisites 12
corporate deployment 11
SourceSafe, configure 33
CVS, configure 39
SQL Azure
D
create connections 24
debugger
SQL Server
configure SQL Server 28
configure debugging 28
verify installed components 31
create connections 24
desktop virtualization 8
troubleshoot 26
I
Subversion, configure 45
install 9
system requirements 5
Citrix 18
T
Citrix support 8
Team Foundation Server, configure 33
client requirements 5
TFS, configure 33
silent 11
Toad for SQL Server Installation Guide 58
Index
transform file 14
troubleshoot
version control 52
uninstall 19
Version Control 32
configure CVS 39
configure Subversion 45
configure TFS 33
configure VSS 33
troubleshoot 52
virtualization support 8
VSS, configure 33