Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Overview [Table of Contents] SQL Advantage Result Windows

SQL Advantage User's Guide

[-] Chapter 1: Introduction
[-] SQL Advantage Session Windows

SQL Advantage Session Windows

SQL Advantage may have zero, one, or more documents open at any given time, each having its own session window. Each new session window (see Figure 1-1) has a query window pane, where you enter your query scripts; and an associated message window pane, located below the query window pane. The message window pane displays query execution errors and informational messages. The message window pane is hidden if the splitter bar is pulled all the way down, and the query pane is hidden if the splitter bar is pulled all the way up.

Each session window may or may not have connection to a SQL Server. You can start editing a script in the query window pane without having a connection to a SQL Server. You can create and execute T-SQL queries (scripts) from the query window pane.

After you execute your queries, results are displayed in separate result windows (see "SQL Advantage Result Windows").

Note: Fatal communication errors and unexpected internal errors are displayed in alerts, not in the message window pane.

Figure 1-1: SQL Advantage Application and Session windows
raster

SQL Advantage has the following application and session window indicators and controls:

About Menus

Note that menus in the SQL Advantage menu bar have one letter underlined; this is a mnemonic key that you can use, in combination with the Alt key, to select that menu should you not have a mouse.

For example:

Similarly, most menu commands have one letter underlined that you can use to invoke that command after the menu has been selected. Also, some menu commands have short-cut accelerator keys that you can use to invoke the command. Where applicable, these short cut accelerator keys appear to the right of the command in the menu.

Application Window Control Menu

The application window control menu is a drop-down menu displayed when you click the mouse button in the close box in the top left corner of the SQL Advantage application window (see Figure 1-1).

The application control menu has the following commands:

Main Menu Bar

Reading from left to right across the menu bar (see Figure 1-1), SQL Advantage has the following menus:

File Menu

The File menu has the following commands:

Edit Menu

The Edit menu has the following commands:

View Menu

The View menu has the following commands:

Server Menu

The Server menu has the following commands:

Query Menu

The Query menu has the following commands:

Window Menu

The Window menu has the following commands:

Help Menu

The Help menu has the following commands:

Toolbar

SQL Advantage has a toolbar that provides quick access to some SQL Advantage menu commands (see Figure 1-2 and Table 1-1).

Toggle the toolbar display on and off by choosing Tool bar from the View menu. When the toolbar is displayed, a check mark appears beside this command.

Note the SQL Advantage toolbar follows standard Windows behavior as described in the Microsoft Windows User's Guide.

Figure 1-2: Toolbar
raster

Toolbar Microhelp

When you position the mouse cursor over a toolbar command button, and wait 2 seconds or more before you click a mouse button, a one- or two-word message describing that command is displayed in a tooltip over the command button. An expanded microhelp description is also displayed in the application window status bar (see Figure 1-4):

Table 1-1: Toolbar Commands

Command

Description

For more information...

New

Same as the New command in the File menu

See "File Menu"

Open

Same as the Open command in the File menu

See "File Menu"

Save

Same as the Save command in the File menu

See "File Menu"

Print

Same as the Print command in the File menu

See "File Menu"

Preferences

Same as the Preferences command in the File menu. If a session window has focus when you invoke this command, you can set preferences just for the current session. If a session window does not have focus when you invoke this command, you can set global preferences which are retained between sessions.

See "File Menu"

Undo

Same as the Undo command in the Edit menu

See "Edit Menu"

Cut

Same as the Cut command in the Edit menu

See "Edit Menu"

Copy

Same as the Copy command in the Edit menu

See "Edit Menu"

Paste

Same as the Paste command in the Edit menu

See "Edit Menu"

Find

Same as the Find command in the Edit menu

See "Edit Menu"

Execute

Same as the Execute command in the Query menu

See "Query Menu"

Cancel Execution

Same as the Cancel Execution command in the Query menu

See "Query Menu"

Change Database

Lists all the available databases from the current session's connected SQL Server. To quickly change from one database to another within a connected session to SQL Server, select the appropriate database name from the drop-down list box.

See "Changing Database".

Note that changing database changes the context of the first three pick lists in the View menu. For more information, see "Using the Tables and Columns Pick List", "Using the Views and Columns Pick List", and "Using the Stored Procedures Pick List".


Application Window Minimize Control

The application window Minimize command button (see Figure 1-1) reduces the SQL Advantage application window to an icon on the desktop. This command button performs the same function as the Minimize command in the application control menu.

Application Window Maximize Control

The application window Maximize command button (see Figure 1-1) enlarges the SQL Advantage application window to full screen size. This command button performs the same function as the Maximize command in the application control menu.

Application Window Restore Control

When the application window is maximized, the Maximize command button (see Figure 1-1) changes to the Restore command button. Clicking the Restore command button restores the SQL Advantage application window to its previous screen size. This command button performs the same function as the Restore command in the application control menu.

Session Window Control Menu

The session window control menu is a drop-down menu displayed when you click the mouse button in the close box in the upper left corner of the SQL Advantage session window (see Figure 1-1).

The session control menu has the following commands:

Session Window Minimize Control

The session window Minimize command button (see Figure 1-1) reduces the SQL Advantage session window to an icon within the application window. This command button performs the same function as the Minimize command in the session control menu.

Session Window Maximize Control

The session window Maximize command button (see Figure 1-1) enlarges the SQL Advantage session window to full size within the application window. This command button performs the same function as the Maximize command in the session control menu.

Session Window Restore Control

When the session window is maximized, the Maximize command button (see Figure 1-1) changes to the Restore command button. Clicking the Restore command button restores the SQL Advantage session window to its previous screen size. This command button performs the same function as the Restore command in the session control menu.

Session Window Status Bar

The session window status bar (see Figure 1-3) located at the bottom of the session window (see Figure 1-1) displays the following current session status:

When the display mode for the result window is Grid, SQL Advantage displays the word Grid on the status bar. When the display mode is set to Text output, SQL Advantage displays the word Text. If SQL Advantage is started from the command line with the -o option, it displays File:<filename>.

Application Window Status Bar

The application window status bar (see Figure 1-4) at the bottom of the SQL Advantage application window displays toolbar and menu command microhelp messages and keyboard lock key status.

To toggle the display of this status bar on and off, choose Status bar from the View menu. This is only if there are no session windows open, or if a result window has focus, otherwise, it toggles the session window status bar. When the status bar is displayed, a check mark appears beside this command.

Figure 1-4: Application window status bar
raster


Overview [Table of Contents] SQL Advantage Result Windows