Updated on 2022-08-16 GMT+08:00

File

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

Function

Button

Shortcut Key

Description

Creating a connection

Ctrl+N

Creates a database connection in the Object Browser and SQL Terminal tabs.

Deleting a connection

-

Deletes the selected database connection from Object Browser.

Opening a connection

-

Connects to the database.

Disconnecting from the database

Ctrl+Shift+D

Disconnects from the specified database.

Disconnecting all connections

-

Disconnects all the databases of a specified connection.

Opening

Ctrl+O

Loads SQL queries in SQL Terminal.

Saving SQL scripts

Ctrl+S

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

Saving SQL scripts to a new file

CTRL+ALT+S

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

Exiting

-

Alt+F4

Exits from Data Studio and disconnects from the database.

NOTE:

Any unsaved changes will be lost.

Stopping Data Studio

Perform the following steps to stop Data Studio:

  1. Click .

    Alternatively, choose File > Exit.

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

  2. Click the corresponding button 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.