Skip to content

Delete

Deleting a connection removes its saved connection details from DBCode. It does not delete any data in the database itself.

  1. Open DBCode in Visual Studio Code:

    • Select the DBCode icon in the Activity Bar.
  2. Locate the Connection to Delete:

    • In the DBCode Explorer, find the connection you want to delete. Disconnect it before proceeding.
  3. Delete the Connection:

    • Right-click the connection and select Delete Connection from the context menu.

    Delete connection option

    • If DBCode asks for confirmation, confirm the deletion.
  4. 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.

  • 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.