Updated on 2023-04-03 GMT+08:00

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 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 to an SQL file.

Save As

CTRL+ALT+S

Saves the SQL scripts of the SQL Terminal to a new SQL file.

Exit

-

Alt+F4

Exits from Data Studio and ends the connection.

NOTE:

Any unsaved changes will be lost.

Stopping Data Studio

Follow the steps below to stop 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 as required.

    • Force Exit: Exits the application without saving the SQL execution history.

    If you click Force Exit, the SQL execution history that is not saved may be lost.

    • Graceful Exit: Saves the SQL execution history that has not been saved to the disk before exiting.
    • Cancel: Cancels the exit from the application.