DataGrip 2024.1 Help

Confirm Drop dialog

Click the Database Explorer and select Edit | Drop, or select Drop from the context menu, or press Delete.

Click OK to remove the selected item or items, or click the Open query in console icon to copy the SQL statement or statements into the query console.

the Open in console icon

Item

Description

Qualify objects with schema names

Adds a schema name to the database object name. You can qualify a database object when you have two and more database objects with identical names in different schemes. This option has the following parameters:

  • Auto: automatically qualifies database object names if you have more than two identical database object names in different schemes.

  • Never: never qualifies database object names.

  • Always: always qualifies database object names.

Use IF EXISTS syntax

Ensures that the database object exists.

Use DROP CASCADE syntax

Deletes the objects that depend on the database object that you delete.

For example, if you delete a table, the views that depend on it will be deleted).

Reformat generated code

Reformat generated code with the current code style profile. This option affects generated code only and does not affect the code received directly from the server.

Preview

The statement or statements to be run to remove the selected item or items. If necessary, you can edit the statements right in this pane.

The statements are executed when you click OK.

Last modified: 14 March 2024