Toad for Sybase Installation...

32
Toad ® for Sybase 1.4 Installation Guide

Transcript of Toad for Sybase Installation...

Page 1: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad® for Sybase 1.4

Installation Guide

Page 2: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

© 2013 Quest Software, Inc.

ALL RIGHTS RESERVED.

This guide contains proprietary information protected by copyright. The software described inthis guide is furnished under a software license or nondisclosure agreement. This softwaremay be used or copied only in accordance with the terms of the applicable agreement. Nopart of this guide may be reproduced or transmitted in any form or by any means, electronicor mechanical, including photocopying and recording for any purpose other than thepurchaser’s personal use without the written permission of Quest Software, Inc.

The information in this document is provided in connection with Quest products. Nolicense, express or implied, by estoppel or otherwise, to any intellectual property right isgranted by this document or in connection with the sale of Quest products. EXCEPT ASSET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSEAGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITYWHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORYWARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO,THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FORANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTALDAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OFPROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OFTHE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEENADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representationsor warranties with respect to the accuracy or completeness of the contents of this documentand reserves the right to make changes to specifications and product descriptions at anytime without notice. Quest does not make any commitment to update the informationcontained in this document.

If you have any questions regarding your potential use of this material, contact:

Quest Software World HeadquartersLEGAL Dept5 Polaris WayAliso Viejo, CA 92656email: [email protected]

Refer to our Web site (www.quest.com) for regional and international office information.

Trademarks

Quest, Quest Software, the Quest Software logo, Simplicity at Work, Toad, TOAD, T.O.A.D.,and TOAD WORLD are trademarks and registered trademarks of Quest Software, Inc. For acomplete list of Quest Software’s trademarks, see http://www.quest.com/legal/trademark-information.aspx. Other trademarks and registered trademarks used in this guide are propertyof their respective owners.

Toad for Sybase 1.4Installation GuideMarch 26, 2013

Page 3: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Table of Contents

Installation 5

System Requirements 5

Client Requirements 5

Server Requirements 5

Virtualization Support 6

User Requirements 6

Install Toad 7

Specify Application Data Directory Location 7

Install Toad Silently 8

Determine Which Installer to Use 8

Silent Installation Prerequisites 8

Silent Installation Using the Executable 9

Silent Installation Using the Microsoft Installer 11

Install Toad on Citrix Systems 15

Upgrade Toad 16

Uninstall Toad 16

Register Toad 17

Create and Troubleshoot Connections 18

Understand Toad Connections 18

Share Database Connections 18

Create Sybase Connections 19

Troubleshoot Sybase Issues 20

Connection Issues 20

Missing Functionality or Object Information 20

Other Issues 20

Page 4: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideTable of Contents

4

Configure Version Control 22

About Version Control 22

Prerequisites 22

Configure Version Control 23

Manage Objects under Version Control 25

Troubleshoot Version Control 28

Troubleshoot Upgrades 28

Troubleshoot Other Issues 28

Appendix: Contact Quest 29

Contact Quest Support 29

Toad Community 29

Contact Quest Software 29

About Quest Software 29

Index 31

Page 5: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Installation

System Requirements

Client Requirements

Before installing Toad, ensure that your client system meets the following minimum hardwareand software requirements:

Platform 1 GHz minimum

Memory 512 MB of RAM minimum, 1 GB recommendedNote: The memory required may vary based on the following:

l Applications that are running on your system when using Toad

l Size and complexity of the database

l Amount of database activity

l Number of concurrent users accessing the database

Hard DiskSpace

53 MB to run ToadNote: The disk space required may vary based on the edition of Toadselected for installation.

OperatingSystem

Windows Server 2003Windows XP Professional (32-bit or 64-bit)Windows Vista (32-bit or 64-bit)Windows Server 2008 (32-bit or 64-bit)Windows 7 (32-bit or 64-bit)

.NETFramework

Microsoft .NET Framework 4.0Note: The .NET Framework Client Profile is not supported.

AdditionalRequirements

Web BrowserMicrosoft Internet Explorer 6.0 or later

Server Requirements

Before installing Toad, ensure that your server meets the following minimum hardware andsoftware requirements:

1

Page 6: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

6

OperatingSystem Windows XP (32-bit with Service Pack 2 or later and 64-bit)

Windows Server 2003 (32-bit or 64-bit) Service Pack 1 or laterWindows Vista (32-bit or 64-bit)Windows Server 2008 (32-bit or 64-bit)Windows Server 2008 R2 (64-bit)Windows 7 (32-bit or 64-bit)

DatabaseServer

Sybase ASE 12.5, 15.0.2, 15.0.3, 15.5, 15.7Sybase IQ 15.0, 15.1, 15.2, 15.3, 15.4Sybase SQL Anywhere 10, 11, 12

Virtualization Support

ApplicationVirtualization

Limited testing has been performed for Citrix XenApp 5.0 support onWindows Server 2003.Limited testing has been performed for Citrix support on WindowsServer 2003 Enterprise Server (Service Pack 2) using the MetaFramePresentation Server 5.0 and Citrix Presentation Server Clients 10.2.See "Install Toad on Citrix Systems" (page 15) for more information.

Note: Toad may work in virtualization environments other than the ones in which it wastested.

User Requirements

User Requirements to Install Toad

Only Windows Administrators and Power Users can install Toad.

If an Administrator installs Toad, the Administrator can share the Toad shortcut icon on thedesktop and menu items with any user—a Power User, Restricted User, Vista standard user—on the computer.

If a Power User installs Toad, a Restricted User cannot do the following:

l Associate file extensions.

l View the Toad shortcut icon on the desktop or the Toad menu options in theWindows Start menu. As a workaround, Restricted Users can create a shortcut to Toadfrom the install directory and place the shortcut on their desktop.

User Requirements and Restrictions for Running Toad

The following describes the requirements and restrictions for users who launch and run Toad:

Page 7: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

7

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, anddelete it. All other users need only the ability to read the QuestSoftware.ToadSecuritytable to use Toad Security features.

Install ToadNote: Your Toad for Sybase license key determines the edition and will enable Toad forSybase functionality accordingly. In many cases, if functionality is disabled within Toad forSybase, you may not have an appropriate license to use it. When Toad is running, you cansee which components are licensed by selecting Help | About.

To install Toad

1. Run the Installer.

2. Accept the License Agreement.

3. Select the products you want to install and click Install..

Specify Application Data Directory LocationToad for Sybase 1.4 stores settings files in the user's Application Data directory. The defaultlocation cannot be modified from within the application. Toad provides two methods tochange the default location: by using a Registry setting or by using a command switch in aToad shortcut.

Use the Registry setting method to change the application data directory from Roaming toLocal. Use the command switch method to change the location to any new path.

To change Toad Application Data directory location from Roaming to Local

In the Registry under Toad for Sybase (Computer\HKEY_CURRENT_USER\Software\QuestSoftware\Toad for Sybase\1.4), add LOCALSETTINGS with a value of 1.

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 youmanually copy the settings files from the default location (Roaming directory) to the newlocation (Local directory). Copy the settings files BEFORE you add the Registry setting andBEFORE opening Toad.

Operating System Default Location New Location whenLOCALSETTINGS = 1

Windows XPWindows Server 2003

C:\Documents andSettings\username\Application Data\Quest

C:\Documents andSettings\username\ Localsettings\Application

Page 8: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

8

Operating System Default Location New Location whenLOCALSETTINGS = 1

Software\Toad for Sybase1.4

Data\Quest Software\Toadfor Sybase 1.4

Windows Vista,Windows Server 2008Windows 7Windows 8

C:\Users\username\AppData\Roaming\QuestSoftware\Toad for Sybase1.4

C:\Users\username\AppData\Local\QuestSoftware\ Toad for Sybase1.4

To change Toad Application Data directory location using a command-line switch

You can override the default Application Data directory by running Toad with thecommand switch:

Toad.exe --datadir="YourNewDirPath"

To instruct Toad to always use the new directory path, add the command switch and the newdirectory 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).

Install Toad SilentlySilent installation provides a convenient method for deploying Toad to multiple machines.With some customization, you can also deploy the license key and settings at the same time.

Note: To perform a silent install, you can use either stand-alone installer or extract the .msifrom the Quest Installer, provided with Toad Edition.

Determine Which Installer to Use

Before performing a silent installation, review the following to determine whichinstaller to use:

Silent Installation Prerequisites

Before you perform a silent installation, you must install the following software on everycomputer where you are installing Toad: 

l Microsoft .NET Framework 4.0

Page 9: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

9

Silent Installation Using the Executable

Use the executable file to perform a silent install to the default directory (or to a differentdirectory) and to specify options such as logging installation messages.

To perform a silent install using the executable file

1. At a Windows command prompt, switch to the drive or directory where theexecutable for Toad is located. (This file can be downloaded from the Quest web siteor can be found on the Toad installation CD-ROM.)

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 yourinstallation 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 overridesfor your installation.

Command-Line Options

The following MSIEXEC command-line options are used in this example:

Option Description

/L “C:\temp\installLog.txt”

(Optional) Write installation messages to the specified log.You can append other options, such as x for debug (used inthe previous example) or v for a verbose log. See the logsection at http://msdn2.microsoft.com/en-us/library/aa367988.aspx for more information aboutadditional logging options.Also, substitute “C:\temp\installLog.txt” in the examplewith the fully qualified name of the log file. Enclose thisvalue in double quotations. The installation process createsthis file if it does not exist. Otherwise, the existing file isoverwritten.

Toad Default Installation Option Overrides

You can specify the following values to override Toad’s default installation options.Enclose each value in double quotations.

Page 10: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

10

Option Description

INSTALLDIR (Optional) Specify the absolute path for the directory inwhich you want to install Toad. If you do not include thispath, the installation program defaults to: C:\ProgramFiles\Quest Software\Toad for Sybase 1.4.

ALLUSERS (Optional) Specify one of the following:

l For a per-machine installation, specify 1. Thisvalue allows any user to use the Toad shortcut onthe desktop after the installation completes.

l For a per-user installation, enter the empty stringvalue (“”) This value allows only the userspecified for USERNAME (and the user thatinstalled Toad) to see the Toad shortcut on thetarget desktop. If USERNAME is omitted, only theuser that installed Toad sees the shortcut.

Note: If you do not specify this property, the installationprogram defaults to a per-user installation.

USERNAME (Optional) Specify the user that intends to use Toad onthe target computer.Notes:

l If ALLUSERS is omitted or defined with theempty string value (""), only the user specifiedhere (and the user that installed Toad) can see theToad shortcut on the desktop after the installationcompletes.

l If ALLUSERS is omitted or defined with theempty string value ("") and you omit theUSERNAME option, only the user that installedToad sees the Toad shortcut on the desktop.

l If ALLUSERS is 1, the USERNAME value isignored during installation.

COMPANYNAME (Optional) Specify the name of the company that ownsthis installation.

Notes:

l All default installation option overrides are case-sensitive.

l Enclose all values (except for the ALLUSERS value) in double quotations.

Page 11: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

11

Silent Installation Using the Microsoft Installer

Extract MSI file from Quest Installer

The Quest Installer can be launched in "extraction mode," which allows you to extract theToad for Sybase MSI installer.

To launch the Quest Installer in extract mode

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 atarget 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.

4. Click Extract to extract the files.

The Finish page has a link to the directory into which the files were extracted and alink to the log file for the extraction process (Readme.txt). The extraction log containsverification of the files that have been extracted along with the command-lineswitches required for performing the default installation. You must run the installers inthe order specified.

Perform Silent Installation Using MSI

To perform a silent install using msi

1. At a Windows command prompt, switch to the drive or directory where the msiinstaller for Toad is located.

2. For a standard installation with all features enabled, enter the following command:

You can customize command-line options and overrides for your installation similarto the following:

Command-Line Options

The following MSIEXEC command-line options are used in this example:

Option Description

/i Run the installation.

/q Specify the user interface (UI) that displays during installation.You can append other options, such as n to hide the UI or bto hide the Cancel button during the installation.

Page 12: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

12

Option Description

Note: All command-line options are case-insensitive. Seehttp://msdn2.microsoft.com/en-us/library/aa367988.aspx for a complete list ofcommand-line options.

Toad Default Installation Option Overrides

You can specify the following values to override Toad’s default installation options.Enclose each value in double quotations.

Option Description

INSTALLDIR (Optional) Specify the absolute path for the directory inwhich you want to install Toad. If you do not include thispath, the installation program defaults to: C:\ProgramFiles\Quest Software\Toad for Sybase 1.4.

ALLUSERS (Optional) Specify one of the following:

l For a per-machine installation, specify 1. Thisvalue allows any user to use the Toad shortcut onthe desktop after the installation completes.

l For a per-user installation, enter the empty stringvalue (“”) This value allows only the userspecified for USERNAME (and the user thatinstalled Toad) to see the Toad shortcut on thetarget desktop. If USERNAME is omitted, only theuser that installed Toad sees the shortcut.

Note: If you do not specify this property, the installationprogram defaults to a per-user installation.

USERNAME (Optional) Specify the user that intends to use Toad onthe target computer.Notes:

l If ALLUSERS is omitted or defined with theempty string value (""), only the user specifiedhere (and the user that installed Toad) can see theToad shortcut on the desktop after the installationcompletes.

l If ALLUSERS is omitted or defined with theempty string value ("") and you omit theUSERNAME option, only the user that installedToad sees the Toad shortcut on the desktop.

l If ALLUSERS is 1, the USERNAME value isignored during installation.

Page 13: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

13

Option Description

COMPANYNAME (Optional) Specify the name of the company that ownsthis installation.

Notes:

l All default installation option overrides are case-sensitive.

l Enclose all values (except for the ALLUSERS value) in double quotations.

Create Transform (MST) Files

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 alsouse the .msi file to perform a basic silent install using the default directory (or install to adifferent directory) and to specify command-line options and default installation overrides.See "Perform Silent Installation Using MSI" (page 11) for more information if you are notcreating a transform file.

Note: (MSI installs on Windows Vista and 7) If you are using MSI to install Toad onWindows Vista or 7 with UAC enabled, you can install a file that adds a "Run asadministrator" option when right-clicking the MSIfile: http://www.symantec.com/connect/downloads/msi-run-administrator-context-menu-vista.

The following procedure uses the Wise Installer to create the transform file.

To create a transform file that includes custom Toad settings

1. Save and install the ToadInstaller.msi file on a computer where the Wise for WindowsInstaller is installed. After customizing Toad settings, you will use the Wise Installerto 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 thefollowing: 

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 alicense key.

4. Select Tools | Configuration Wizard from the Toad menu and complete theConfiguration wizard. This wizard creates an initial settings file (Settings.xml).

5. Select Tools | Options from the menu in Toad to open the Options window.

Page 14: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

14

6. Select each page in the window and set any options you want to deploy. Theseoptions create a module settings folder and files.

7. Select View | Connection Manager from the menu in Toad to open theConnection Manager.

8. Create any connections you want to deploy.

9. Exit Toad. Upon exiting, a Connections file is created.

10. Create the Microsoft Transform file, using any appropriate tool. The following stepsdescribe 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 Transformtemplate in the New Installation File window.

c. Select the ToadInstaller.msi file in the Select the .MSI file to base thistransform on window.

d. Save the project.

e. Select Files from the Feature Details view.

f. Locate the following files and click Add to add them to the project:

File to Add Location

Settings.xml This file is located in the following directory:

l Windows XP, Windows Server 2003—C:\Documents andSettings\username\Application Data\QuestSoftware\ Toad for Sybase 1.4.

l Windows Vista, Windows Server 2008,Windows 7, Windows 8—C:\Users\username\AppData\Roaming\ QuestSoftware\Toad for Sybase 1.4.

ModuleSettingsfolder and files

This folder and related files are located in thefollowing directory:

l Windows XP, Windows Server 2003—C:\Documents andSettings\username\Application Data\QuestSoftware\ Toad for Sybase1.4\ModuleSettings.

l Windows Vista, Windows Server 2008,Windows 7, Windows 8—C:\Users\username\AppData\Roaming\ QuestSoftware\Toad for Sybase 1.4\ModuleSettings.

Page 15: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

15

File to Add Location

Connections.xml This file is located in the following directory:

l Windows XP, Windows Server 2003—C:\Documents andSettings\username\Application Data\QuestSoftware\Toad for Sybase 1.4.

l Windows Vista, Windows Server 2008,Windows 7, Windows 8—C:\Users\username\AppData\Roaming\ QuestSoftware\Toad for Sybase 1.4.

g. Save the project and compile it to create the transform (MST) file.

11. Perform a silent install. See "Perform Silent Installation Using MSI" (page 11) for moreinformation.

Install Toad on Citrix SystemsToad must be installed on the Citrix server by the Citrix administrator. Users then connect tothis instance through their Citrix login.

Note: Limited testing has been performed for Citrix XenApp 5.0 support on WindowsServer 2003.

To install Toad on a Citrix system

1. Connect to the Citrix Environment as an administrator.

2. Copy Toad to the Citrix server, if needed.

3. Start the Toad installation process.

4. During installation, on the Product Selection page, select Toad for Sybase and clickMore Info. Then select the Install for everyone checkbox.

5. Repeat steps 2 through 4 for each server in the Citrix farm.

Note: Although you must install Toad on every server in the Citrix farm, you onlyneed to publish Toad once.

6. Review the following considerations regarding licensing:

l A license supplied by an administrator always overrides a user-supplied licensein a Citrix environment.

l If you need to provide the same Toad functionality to all users, you can enterthe default license key for all users.

Page 16: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

16

l If you have users with different license requirements (for example, some haveStandard licenses and others have Professional licenses), individual licensesshould be entered for each user. You should not enter the default license keybecause it enables all functionality in Toad.

Upgrade ToadTo upgrade Toad

1. Run Toad installer from the DVD or downloaded file.

2. Select the products you want to install and click Install.

If you are upgrading from a previous version of Toad, you are prompted to migrate yoursettings the first time you start Toad. The settings files include database connections, layoutcustomizations, shortcut keys, and options customized in the Options pages.

To migrate the settings again, remove or rename the current version's Application Data folderand migrate the files from the previous version's Application Data folder.

Uninstall ToadIf you uninstall Toad, it may not uninstall completely. When you use Toad, you create newfiles such as SQL scripts, data output, or temp files, etc. The following types of files are notremoved when you uninstall:

l Any new files you create

l Any copies of files you make for backup purposes

l Settings files

You can uninstall Toad for Sybase by using the Quest Installer or by using the WindowsAdd/Remove Programs (or Uninstall a program) feature. Quest Installer is the preferred way touninstall Toad for Sybase.

To uninstall Toad using Quest Installer

1. Select Start | All Programs| Quest Software | Uninstall Quest Products. The QuestInstaller opens.

2. Select the product that you want to uninstall.

3. Click Uninstall.

Page 17: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideInstallation

17

Register ToadTo register Toad

1. Select Help | Licensing from the menu (ALT+H+L).

2. Review the following for additional information:

Authorizationkey

Enter the license key for Toad.

Site message Enter the site message included with the license key.

Page 18: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Create and Troubleshoot Connections

Understand Toad ConnectionsIn Toad, a connection represents one or more actual connections to the database. Toad createsan initial database connection for general usage. It also creates a separate database connectionfor each Editor (the first time you execute a statement) and a separate database connection foreach Data tab in the Database Explorer (the first time you select the tab and data is queried).The database connection for each Editor and Data tab remain open until you close theassociated window; however, the connections remain in an inactive state if a statement is notcurrently executing.

Tips:

l To view the number of actual database connections that exist for a Toad connectionand how many of those database connections are active, place the cursor over theconnection in the Connection Manager or the Connection toolbar.

l You can view the progress of statements executing in the background in a progressbar 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 isrecommended to cancel only your own processes, as terminating Toad activities maylead to unexpected behavior.

Share Database Connections

Editors and Data tabs can share the same database connection when the connection isinactive if you clear the Use specific connection for each open editor checkbox in Tools| Options | Editor | General. Any new executions or windows attempt to use thisconnection first. For example; if you share a database connection, you can execute a queryin the Editor, execute another query in a new Editor, and then select the Data tab from thesame connection. If the connection is in use and you attempt to execute it, one of thefollowing occurs:

l If your database does not support executing multiple queries on a shared connection, adialog prompts you to either permanently associate the window with a new databaseconnection, cancel the previous operation, or add the query to a queue until thecurrent operation completes, and the execute it. If you place multiple queries in thequeue, 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 selectedwindow only.

Page 19: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideCreate and Troubleshoot Connections

19

Create Sybase ConnectionsYou can create a new Sybase IQ, Sybase SQL Anywhere, or Sybase ASE connection, orconnect to an existing connection from the Create New Connection window. See"Troubleshoot Sybase Issues" (page 20) for more information about troubleshootingconnection issues.

Note: This topic focuses on information that may be unfamiliar to you. It does not include allstep and field descriptions.

To create a Sybase connection

1. Click on the toolbar (ALT+F+N).

2. Select a connection type from the Group list box.

3. Enter the login information. Review the following for additional information:

Login Tab Description

Host Enter the host name for the connection.Note: This field is only available when you select a Sybase IQor Sybase SQL Anywhere connection.

Password Enter the password to use when connecting.Tip: After connecting, you can set a master password to furthersecure your connection in Tools | Options| Environment |Security.

CharSet Enter the client character set such as UTF-8 in this field if itdiffers from the default character set. This helps you avoidconnection issues.Notes:

l This field is not case sensitive.

l This field is only available when you select a SybaseASE connection.

Category Select or create a category if you want to color code Editor tabsfor a specific connection. This can help differentiate betweendevelopment and production databases. You can also set anoption to color code the Object Explorer pane and object editorwindows (Create, Alter, Drop, etc.).  Click here to view avideo of this feature.

4. Click Connect to save the connection and immediately connect to the database.

Page 20: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideCreate and Troubleshoot Connections

20

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 theApplication Data Directory link in Help | About.

Troubleshoot Sybase IssuesReview the following solutions to help troubleshoot Sybase issues pertaining to thefollowing in Toad:

Connection Issues

Issue Cause/Solution

Unable to connect to thedatabase. The following messagedisplays: "The ODBCMDAprocedures have not beeninstalled on this database..."

Stored procedures that the ODBC driver requirescurrently do not exist on the server.Solution:Install the required procedures.

Missing Functionality or Object Information

Issue Cause/Solution

Unable to view or export datafor objects with non-standardnames.

Sybase ODBC driver has issues handling non-standard names for objects.Solution:When setting up a Sybase connection in Toad,select Use quoted identifiers on the Connection tabin the Adaptive Server Enterprise window to enablethe use of quotations in identifiers.

Unable to view linked tables. Linked tables store DSN connection information.Solution:Set up the DSN connection information exactly thesame on all machines that access the database.

Other Issues

Issue Cause/Solution

DBMS name showing as SQLServer.

Older versions of the Sybase ODBC driver returnSQL Server as the DBMS name.

Page 21: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideCreate and Troubleshoot Connections

21

Issue Cause/Solution

Solution:Upgrade to the latest version of the Sybase ODBCdriver, which correctly returns Adaptive ServerEnterprise as the DBMS name.

Page 22: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Configure Version Control

About Version ControlToad integrates with your existing version control system so you can maintain multiplerevisions of objects. See "Configure Version Control" (page 23) for more information onconfiguring version control in Toad.

Important: See "Troubleshoot Version Control" (page 28) for more information about issueswhen upgrading version control from a previous version.

Notes: 

l If you want to place database objects under version control, you must configureversion control for objects using the Object Explorer. See "Manage Objects underVersion Control" (page 25) for more information.

l If you rename a version controlled object, Toad drops the original object and itshistory from version control and prompts you to add the renamed object to versioncontrol. This newly renamed object does not have any history associated with it.

Prerequisites

You must install a supported version control client on the computer where Toad isinstalled. The following table lists the supported version control providers and the versionstested with Toad.

SupportedProvider

Server VersionTested

Client Version Tested

Subversion Subversion 1.5.6on WindowsNote: Toad onlysupportsSubversion 1.5.6or later.

CollabNet Subversion Command-Line Client 1.5.6Notes:

l Toad only supports Subversion 1.5.6 orlater.

l Any Subversion client must have svn.exe inits installation directory to use versioncontrol in Toad.

l Tortoise SVN is no longer supported inToad because it no longer includes svn.exein its installation directory.

TeamFoundationServer(TFS)

TFS 2008, 2010,2012

Visual Studio (2008, 2010, 2012) Team ExplorerClient

Page 23: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

23

SupportedProvider

Server VersionTested

Client Version Tested

File systembased

Toad allows to utilize practically any version control system using theexternal client tool. In this case Toad Version Control tool works withthe directories at local HDD while you commit changes to the repositorywith version control client tool.

Note: Toad connects to your version control system based on login information includedin the configuration. Your version control client does not need to run for Toad toconnect.

Configure Version ControlTo configure version control

1. Ensure that a supported version control client is installed on the computer where Toadis installed. See "About Version Control" (page 22) for more information about testedversion control clients and supported versions.

2. Right-click one or more objects in the Object Explorer and select Version Control |Version Control Wizard.

Note: Version control is configured .

3. Review the following for additional information:

Version ControlSystem Page

Description

Type Select the version control system name:

l SubversionNote: The version number beside Subversion is aninternal file definition used by Toad to check if anupdate for this file is available. It is not the actualversion number for the version control provider.

l Team Foundation ServerNote: If you select TFS, you must specify theworkspace name for the provider in the TeamFoundation Server Properties window thatdisplays.

l File system based

Properties (Subversion only) Click this button (beside the Typefield) and complete the binary path. Enter the path where

Page 24: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

24

the Subversion client that contains svn.exe is installed.For example, if you installed the CollabNet SubversionClient, you would enter:C:\Program Files\CollabNet Subversion ClientNote: Do not include svn.exe in the path.

Server Select one of the following:

l Subversion—Specify the existing working folderfor the version control repository or specify theserver string (for example: svn://MyServer).

l TFS—Specify the server where your versioncontrol provider is installed and the port number(default is 8080) to use in the following format:

o http://MyServer:Port for TSF 2008o http://MyServer:Port/TFS for TFS 2010,

2012

l File System Based—Specify a directory at yourlocal machine.

User name/Password

Enter your Subversion command-line user name andpassword and click Login.Note: For TFS only, if you leave the user name andpassword fields blank, Toad uses your default Windowscredentials.

Default VersionControl SettingsPage

Description

Version controlfolder

Select the folder on the version control server where youwant to check objects in.If you already have objects under version control, selectthe folder on the server where these objects are located.Note: Version control automatically checks out objects inthis folder and any subfolders to the location you specifyin the Working folder field.

Working folder Select the root repository folder on the client computer touse as the default working folder for checking objectsout. If you already have objects under version control,select the existing working folder for these.

4. Manage object and scripts using Version Control. See "Manage Objects under VersionControl" (page 25) for more information.

Page 25: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

25

Manage Objects under Version ControlNote: Version Control should be configured in Toad before you start managing objects. See"Configure Version Control" (page 23) for more information.

To add objects under version control

» Right-click an object and select Commit.

Tips:

l The objects under version control are marked with sign at the top right corner ofthe object's icon.

l If you rename a version controlled object, Toad drops the original object and itshistory from version control and prompts you to add the renamed object to versioncontrol This newly renamed object does not have any history associated with it.

To manage objects under version control

1. Determine object's version control status. Hover a mouse over the object in the ObjectExplorer to see its status. Review the following for additional information:

Version Controlstatus

Description

Uninitialized The object status is undetermined yet. This is atemporary status that is issued for all objects duringversion control status processing.

Untracked The object is not added to version control.

Ignored The object is added to ignore list and excluded fromversion control.

UpToDate The object is under version control and is synchronizedwith version control repository. No changes aredetected.

Modified The object is under version control and has beenmodified by user. The changes are stored in localdatabase only and need to be synchronized with versioncontrol repository.

Merge The object is under version control and has beenmodified in both local database and version controlrepository.Note:: Toad's Version Control feature does not allow tomerge object scripts.

Page 26: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

26

Version Controlstatus

Description

OutOfDate The object is under version control and has beenmodified in version control repository.

Unknown The object is under version control but for some reasonits status cannot be determined (for example, youcreated a script in your local database while the scriptwith the same name already exists in version controlrepository).

Deleted The object was under version control, but it wasdropped or renamed in local database and exists only inversion control repository.Tip: You can see deleted objects in the Controlledobjects pane only. To access it right-click any objectand select Show perspective. Once you commit changesin Controlled objects pane, the object with all historywill be deleted from version control repository.

NotInView The object is under version control and exists in versioncontrol repository only.

2. Right-click an object and select one of the following actions:

Use To...

Show perspective Select to review all controlled objects for currentconfiguration.

Diff Select to review differences between the object script inyour local database and the object's revision that wasapplied to it.Note: Diff is unavailable for File System Basedconfiguration.

Diff with latestrevision

Select to review differences between the object script inyour local database and the latest revision in the versioncontrol repository.

Example: You got the latest object revision from the repository 2 days ago. Bythe time you did it, the latest revision was 5. Yesterday your colleague workedwith the same object and committed changes in the repository, which are nowmarked as revision 6.Today you altered the object's script and want to see the differences. You canselect one of the following:

Page 27: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

27

Use To...

l Diff—To compare the object in your local database with revision 5.

l Diff with latest revision—To compare the object in your local databasewith revision 6.

Show history Select to review all commits for selected object.Tip: Select Show history on database to review allcommits.Note: Show History is unavailable for File SystemBased configuration.

Get latest revision Select to apply object's changes from the version controlrepository to your local database. The synchronizationscript is generated to update selected object to the latestrevision.

Commit Select to apply object's changes from your localdatabase to the version control repository.Note: You should write a comment when committingchanges.

Undo changes Select to rollback changes in your local database. Thesynchronization script is generated to revert object tothe revision which was a applied last time.

Update status Select to compare a script in your local database withthe script in the repository. New status will be issuedaccording to the comparison results.

Add to ignore list Select to exclude object from the version control.Ignored objects are not listed in Controlled Objectspane, Commit and Get latest revision are disabled.

Remove from ignorelist

Select to set object status as Untracked and add it toversion control.

Open in WindowsExplorer

Select to navigate to the file in the Windows Explorer.

Tip: You can enable, disable, or delete a version control configuration under Tools |Options | Version Control | Configurations.

Page 28: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideConfigure Version Control

28

Troubleshoot Version Control

Troubleshoot Upgrades

For this release, the back-end of version control has been rewritten. If you previously usedversion control in Toad, the following may occur:

l Version control settings are not migrated from the previous version of Toad, so youhave to reconfigure version control in Toad.

l In previous releases, the method Toad used to generate the script was different thanthe current method. After upgrading Toad and reconfiguring version control, the localrevision of the objects differs from version control repository (The objects haveUnknown status). If the object in your database is current, you should commit it intoversion control.

Troubleshoot Other Issues

Review the following to help troubleshoot issues with version control:

SubversionIssues

Description

System cannotfind file

If a message stating that, “The system cannot find the file specified”displays, this usually means that the Subversion executable cannotbe found in the path you specified in the BinaryPath field of theCommand Based Version Control Properties window. Verify thatsvn.exe exists in the directory you specified in this field

Commandexecution

When executing Subversion commands, user input is not allowed.This presents an issue when the user is using Subversion with theSSH method and must enter a password to establish the SecureShell.Workaround:Generate identity keys that automatically authenticate between theclient and the server when connecting with SSH.

OutOfMemoryexceptionwhen addinga largenumber ofobjects

When adding a large number of objects, Subversion may encounterOutOfMemory exception.Workaround:Commit objects in several steps.

Page 29: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Appendix: Contact Quest

Contact Quest SupportQuest Support is available to customers who have a trial version of a Quest product or whohave purchased a Quest product and have a valid maintenance contract. Quest Supportprovides unlimited 24x7 access to our Support Portal at www.quest.com/support.

From our Support Portal, you can do the following:

l Retrieve thousands of solutions from our online Knowledge Base

l Download the latest releases and service packs

l Create, update and review Support cases

View the Global Support Guide for a detailed explanation of support programs, onlineservices, contact information, policies and procedures. The guide is available at:www.quest.com/support.

Toad Community

Get the latest product information, find helpful resources, and join a discussion with the Toadfor Sybase team and other community members. Join the Toad for Sybase community athttp://sqloptimizersybase.inside.quest.com/index.jspa?product=toadforsybase.

Contact Quest Software

Email [email protected]

Mail

Quest Software, Inc.World Headquarters5 Polaris WayAliso Viejo, CA 92656 USA

Web site www.quest.com

See our web site for regional and international office information.

About Quest SoftwareEstablished in 1987, Quest Software (Nasdaq: QSFT) provides simple and innovative ITmanagement solutions that enable more than 100,000 global customers to save time and

Page 31: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

IndexA

application virtualization 6

C

Citrix

install 15

requirements 6

client requirements 5

connections

create Sybase ASE 19

create Sybase IQ 19

create Sybase SQL Anywhere 19

share for all session windows 18

understand 18

contact support 29

corporate deployment 8

D

desktop virtualization 6

I

install 7

Citrix 15

Citrix support 6

client requirements 5

silent 8

L

license keys 17

M

manage objects under VersionControl 25

mst file 13

R

requirements

Citrix 6

client 5

virtualization 6

S

server virtualization 6

silent install 8

create transform file 13

Microsoft installer (MSI) 11

prerequisites 8

Subversion, configure 23

Sybase

create connections 19

system requirements 5

T

Team Foundation Server, configure 23

TFS, configure 23

transform file 13

troubleshoot

version control 28

U

uninstall 16

Page 32: Toad for Sybase Installation Guidedev.toadforsybase.com/documents/ToadforSybase_InstallGuide_1.4.pdf · Quest,QuestSoftware,theQuestSoftwarelogo,SimplicityatWork,Toad,TOAD,T.O.A.D.,

Toad for Sybase Installation GuideIndex

32

V

Version Control

about 22

configure Subversion 23

configure TFS 23

File system based 23

manage objects 25

troubleshoot 28

virtualization support 6