Notebooks

To open a new notebook click the “Create a new DBCode Notebook” icon that appears in the DBCode Explorer, when you hover over a database.

Create a new notebook
Create a new DBCode Notebook from the DB Explorer

Adding a Cell

To add a cell, click the “Add code cell” button at the top.

Add code cell
Add a new code cell using the top button

You can also add a cell from the “More Actions…” button in the cell toolbar.

Add from More Actions
Add cells from the More Actions menu

Additionally, you can hover with your mouse at the top or bottom of a cell and choose whether to insert a cell above or below.

Add button on hover
Insert cells by hovering between existing cells

Execute a Query

To execute a specific cell, click the “Execute cell” button to the left of the code cell you wish to run.

Execute cell
Run an individual code cell

If you have more than one code cell and would like to execute them all, click the “Run All” button at the top.

Run all cells
Execute all cells in the notebook

To execute the cells above the current one, click the “Execute Above Cells” button in the cell toolbar.

Run above cells
Execute all cells above the current one

To execute the selected cell and all cells below it, click the “Execute Cell and Below” button in the cell toolbar.

Run cell and below
Execute current cell and all cells below it

Joining cells

If you would like to join a cell with the cell above or below it, find these options by clicking the “More Actions…” button in the cell toolbar. This helps in organizing and managing your code more efficiently.

Join cells
Combining cells for better organization

Joining with Previous Cell

This combines the current cell with the one above.

Joining with Next Cell

This combines the current cell with the one below.