Executing an SQL statement 

Procedure

Choose Direct SQL ® Execute.

You can also select certain sections of your SQL statement if you only want to execute that part of it.

If you would like to reuse your SQL statement at a later date, save it in the SQL Studio Objects folder in the Catalog Manager by choosing Direct SQL ® Save As.

Result

The SQL Studio status bar shows whether the statement was executed successfully, and how long it took to execute the statement.

The results (if any) of your SQL statement are displayed in a new window.

 

You can hide and show columns in the results window. To do this, click the right mouse button, and choose Customize and deactivate or activate Visible. Choose OK.

You can fix columns to allow you to scroll in the result set more easily. To do this, click the right mouse button and choose Customize. Enter the number(s) – beginning at the left - of the column(s) that you want to fix in the field Fixed Columns. Choose OK.

In Internal Mode, you can override the user settings to display the result set (Clipped Result View). Choose Direct SQL ® Clipped Result View to override the setting that determines which sections of the results are displayed. This only applies to the window you are currently in.