Manage database connections in a notebook
This article explains how to manage database connections attached to a notebook.
note
As opposed to managing database connections in a workspace on the Home page, you perform these procedures in the editor when working on a selected notebook.
Use the Attached data tool from the left-hand sidebar of the editor to access and manage attached data sources. All further procedures are performed from here.
In the editor, open the Attached data tool from the left-hand sidebar.
Switch to the Databases tab.
On this tab, you can see all database connections from the respective workspace that are either already attached to the notebook or available for attachment. When attached, a database connection can be used as a data source for this particular notebook.

In the Attached data tool, switch to the Databases tab.
To attach or detach a database connection to the notebook, use the toggle for the respective item on the list. The off position of the toggle indicates the database is detached, meaning it is not accessible from the notebook as a data source.
The procedure explains how to manage database connections from the Attached data tool when working on a notebook in the editor.
To edit the details of a database connection:
Click the ellipsis and select Edit database connection from the popup menu. This will open the Edit [database_type] connection dialog.
In the Edit [database_type] connection dialog, edit the connection details. Find database-specific information in the respective article listed under Configure a database connection.
Click the Save and close button to finish the procedure.
To edit the introspection scope of an attached database connection:
Click the database connection. This will open the detail view of the database schema.
Click the ellipsis and select Edit introspection scope from the popup menu.
Select or deselect the list items in the Edit introspection scope dialog and click Save and close to finish the procedure.
To refresh a database schema, click the ellipsis and select Refresh schema from the popup menu.
note
This action is available only for attached database connections.
To delete a database connection, click the ellipsis and select Delete database.
warning
This will not only detach the database connection from the notebook but also delete it from the workspace.
Thanks for your feedback!