File

The File menu contains database connection options. Click File from main menu or press Alt+F to open the File menu.

Function

Button

Shortcut Key

Description

New Connection

Ctrl+N

Creates and adds a new database connection to the Object Browser and SQL Terminal.

Remove Connection

-

Deletes the selected database connection from the Object Browser.

Connect To DB

-

Connects to the database.

Disconnect From DB

Ctrl+Shift+D

Disconnects from the selected database.

Disconnect All

-

Disconnects all the databases of a specified connection.

Open

Ctrl+O

Loads SQL queries into the SQL Terminal.

Save

Ctrl+S

Saves the SQL scripts of the SQL Terminal in an SQL file.

Save As

CTRL+ALT+S

Saves the SQL scripts of the SQL Terminal in an new SQL file

Exit

-

Alt+F4

Exits from Data Studio and closes the connection

NOTE:

Any unsaved changes will be lost.

Closing Data Studio

Follow the steps below to close Data Studio:

  1. Click the button.

    Alternatively choose File > Exit.

    the Exit Application dialog box is displayed prompting you to take the required actions.

  2. Click the corresponding buttons based on your requirement.

    • Force Exit button - To exit the application without saving the SQL History information.

      Clicking the Force Exit button might not save the SQL History, if not saved yet.

    • Graceful Exit button - To exit the application after saving the SQL History information to disk in case the save is not complete at this point of time.
    • Cancel button - To cancel exiting from the application.