EMS logo

Produits

SQL Manager for SQL Server

Notre statut de partenariat

Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

EMS SQL Manager for SQL Server

Documentation en ligne

SQL Assistant


SQL Assistant which is located at the bottom of the Database Explorer window helps you to work with your database objects. Depending on the current selection in DB Explorer, the SQL Assistant area displays additional information pertaining to the selected object.

 

DB Explorer - SQL Assistant

 

 

If you select a host in DB Explorer, SQL Assistant displays the list of registered databases that reside on this host.

 

If you select a database in DB Explorer, SQL Assistant displays the list of the database object groups and the number of objects in each group.

 

If you select a schema in DB Explorer, SQL Assistant displays the schema definition (by default).

 

Selecting an object group in DB Explorer displays the list of the objects in SQL Assistant. Double-clicking the object name in SQL Assistant makes the object available for editing in the appropriate editor. The context menu of the object or group of objects (selected with the Ctrl or Shift keys pressed) allows you to edit or drop the selected objects.

 

If you select a table or a view in DB Explorer, SQL Assistant displays the list of the table subobjects (e.g. fields and their types) by default. What is displayed in SQL Assistant when a table or a view is selected in DB Explorer depends on the Table Details / View Details selection. Click the btnViewMode View Mode toolbar button and select the Table Details | Show... (or View Details | Show...) drop-down menu item, or use the context menu of SQL Assistant. Possible values are: Show Fields, Show Foreign Keys, Show Checks, Show Indexes, Show Triggers, Show Table Info, Show DDL, Show Description (for tables); Show Fields, Show Indexes, Show Triggers, Show DDL, Show Description (for views).

 

If you select a procedure or a user-defined function in DB Explorer, SQL Assistant lists its parameters by default. Use the Procedure and UDF Details | Show... context menu item within the SQL Assistant area to define the content of SQL Assistant when a procedure or a user-defined function is selected in DB Explorer. Possible values are: Show Parameters, Show DDL, Show Description.

 

Selecting other objects in DB Explorer displays the definition in SQL Assistant by default. Use the Other Objects' Details | Show... context menu item within the SQL Assistant area to define the content of SQL Assistant when an object is selected in DB Explorer. Possible values are: Show DDL, Show Description.

 

DB Explorer - SQL Assistant - Object details

 

 

You can also use SQL Assistant to work with your queries quickly. You can drag-and-drop object aliases to the SQL Editor, Visual Query Builder or SQL Script Editor working area, in the same way as this operation is performed in Database Explorer.

 

 


See also:

Database and Server Objects Management