JetBrains Rider 2019.2 Help

Create Table and Modify Table dialogs

To modify a table, right-click the table name in the Database tool window (View | Tool Windows | Database) and select Modify Table. Alternatively, click the table name and press Ctrl+R, S.

To create a table, right-click a schema name in the Database tool window (View | Tool Windows | Database) and navigate to New | Table.

Upper part: GUI

The upper part of the dialog you can define a table structure, associated constraints, and indexes. For more information about working with tables, see Working with tables.

SQL Script

The pane under SQL Script shows the statement or statements to be run to achieve the result you have specified using the GUI.

You can use this pane just as a preview. You can also edit the statement or statements right there.

Options

Item

Description

Execute in database

Change data structure in your database by running the statement or statements.

Execute. Execute the statements right away. If associated changes in database consoles are possible, the corresponding preview is shown.

Preview. Preview potential associated changes prior to executing the statements.

Open in editor

Copy the statements into the corresponding database console or SQL file.

  • Modify existing objects. In the generated set of statements, ALTER statements are preferred to CREATE statements.

  • Create modified objects. The changes you have made using the GUI are translated into a minimal set of CREATE and other statements.

  • Create all objects. The generated set always includes the CREATE TABLE statement, as if the whole table were created anew.

To Editor. Switch to the corresponding editor tab right away. If associated changes are possible, the corresponding preview is shown prior to copying the statements.

Preview. Preview potential associated changes.

Last modified: 20 August 2019

See Also