Delete
Deleting a connection removes its saved connection details from DBCode. It does not delete any data in the database itself.
-
Open DBCode in Visual Studio Code:
- Select the DBCode icon in the Activity Bar.
-
Locate the Connection to Delete:
- In the DBCode Explorer, find the connection you want to delete. Disconnect it before proceeding.
-
Delete the Connection:
- Right-click the connection and select Delete Connection from the context menu.

- If DBCode asks for confirmation, confirm the deletion.
-
Connection Removed:
-
The connection will be removed from your list, and it will no longer be accessible in DBCode.
-
If you need to connect to this database again, recreate the connection. For more information, see the create connection article.
-
Important Notes
Section titled “Important Notes”-
Deleting a Grouped Connection: If the connection is part of a group, only the specific connection will be deleted, not the entire group.
-
Data Safety: Deleting a connection in DBCode only removes the saved connection details. It does not delete any data in the database itself.