Learn more about Toad for SQL Server
at Dell Software

Find solutions and downloads at the
Toad for SQL Server Support Portal

Toad for SQL Server 6.6

You are here: Organize Information in Projects

Project Manager

Use the Project Manager to conveniently group and organize files and other resources into projects. These resources can include Toad documents (Query Builder files, ER Diagrams, Toad Data Reports, Editor files), Automation scripts, database objects, database connections, URLs, directory shortcuts, SQL scripts, Toad Views, executables, Excel files, etc. You can save nearly any Toad document or exported file and add it to a project as you work. You can even add To-Do lists.

The file resources you add can be files saved and stored in a variety of locations. When you add a file to a project, a link to the file's current location is added. The file is not copied or moved.

Note: 

To create a project in the Project Manager

  1. Select View | Project Manager (ALT+V+P).

  2. Click in the Project Manager toolbar.
  3. Enter a name for the project.

To add items to a project using the Project Manager

  1. Right-click a project or folder, select Add, and then select from the following: 
  2. New Folder Adds a new folder that you can use to group resources within the project.

    Directory (Links)

    Adds a link to a system folder in the project. You can click the link to open Windows Explorer in Toad, and then select a file to open.  

    Directory Items

    Adds the contents of the selected system folder and any subfolders to the project.

    Note: You cannot add directory items to the project node. You must first create a folder, and then add the directory items to it.

    Existing File

    Adds a file to the project, including the following types: queries from Query Builder,Database Diagrams, Automation scripts, executables, Excel spreadsheets, Word files, and SQL scripts. A link to the file is added to the project.

    Tip: You can double-click any file to open it.

    FTP Connection

    Adds a connection to an FTP server. After creating a connection, double-clicking this item opens a window from which you can upload, download, and manage files between the server and your local computer.

    URL

    Adds a URL to the project. You can right-click a URL and select Rename to give the URL a user-friendly name.

    Tip: You can double-click any URL to open it.

    Database Connection

    Adds an existing database connection.

    Note: After adding a connection, right-click the connection to connect or disconnect.

    To-Do List

    Adds a node to group to-do items.

    To-Do Item

    Adds a note regarding a project task.

    Tip: You can double-click the note to add details or set a due date. When you complete a To Do item, select the checkbox beside its node. If you do not select the checkbox by the due date, the caption displays in red.

    Named SQL

    Adds executed SQL statements that you saved as Named SQL in SQL Recall. See Recall SQL Statements for more information.

To save a script and add it to a project

  1. Open the project in the Project Manager window.
  2. With the Automation script window open, select from the Automation toolbar. Toad saves the script as a file to the location you select and also adds the script to the open project (in a special folder).

To add a Toad View to a project

  1. Open the project in the Project Manager window and select a destination folder.
  2. Right-click the Toad View in the Toad Views pane and select Add to Project.

To add a table or database object to a project

  1. Open the project in the Project Manager window and select a destination folder.

  2. Then, in the Object Explorer, do one of the following:

To open a file from the Project Manager window

Do one of the following:

Storing Bind Variable Values

You can use this feature in the Project Manager to store a value for a bind variable. Then, when you execute a SQL statement containing that bind variable, Toad will not prompt you for a value.

To store a value for a Bind Variable

  1. Click in the Project Manager toolbar.
  2. Enter a name and a value for the bind variable, and specify a data type.

Note: See Using Bind Variables for more information.

Projects And the Project Manager File

The information about projects and project files/resources in the Project Manager is stored in the ProjectManager.tpf file. This file and a sample project come pre-loaded in Toad. When you add a project to the Project Manager, the project is added to the currently-loaded ProjectManager.tpf file.

You can have additional project manager (.tpf) files. Only one Project Manager file can be loaded into the Project Manager at one time. But one Project Manager file can contain multiple projects.

You can save the default Project Manager file ProjectManager.tpf and create additional Project Manager files if you want.

To save a Project Manager file

  1. To save the currently-loaded Project Manager (.tpf) file to a new location or with a new file name, click .
  2. Select a location and enter a file name.
  3. Click Save to save the file. The new Project Manager file is saved and loaded into the Project Manager window.
  4. To determine which Project Manager file is currently loaded in the Project Manager, hover over the project name in the Project Manager window. A tooltip displays the name and location of the file.

To load a saved Project Manager file

 

Tips:

 

of