SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Use the SAP HANA Database Explorer Extension in Visual Studio Code

Explore the additional features provided by the SAP HANA Database Explorer extension in Visual Studio Code, including creating local connections, working with SQL files on the file system, viewing database object dependencies, and diagnosing issues with diagnostic files.

Overview

You will learn

  • How to create a local connection to an SAP HANA Cloud instance
  • How SQL can be saved to and loaded from the file system
  • How to work with multiple SQL consoles side by side in Visual Studio Code
  • How to view database object dependencies
  • How to access and view diagnostic files
Michelle Wang M Michelle Wang September 2, 2026
Created on September 2, 2026
Contributors

More from Michelle Wang

See all 4 tutorials by Michelle Wang →

Prerequisites

Prerequisites

Steps

Intro

The SAP HANA Database Explorer extension for Visual Studio Code provides the ability to run SQL queries and browse catalog objects directly in your development environment. This tutorial highlights features that are unique to or work particularly well in the Visual Studio Code context.

Step 1 Install the SAP HANA Database Explorer Extension

  1. If needed, download Visual Studio Code for your computer.

  2. Open Visual Studio Code and install the SAP HANA Database Explorer extension from the Visual Studio Marketplace by navigating to Extensions and searching for SAP HANA Database Explorer.

    For information about the latest features and version updates, refer to the CHANGELOG tab on the Marketplace page.

    Install extension
    Install extension

  3. Open the extension from the new icon in the activity bar on the left. You will see the Database List panel which is where connections are managed.

    Open extension
    Open extension


Step 2 Create a Local Connection
+
Step 3 View Database Object Dependencies
+
Step 4 Work with SQL Files on the File System
+
Step 5 Use Multiple SQL Consoles in Visual Studio Code
+
Step 6 View Diagnostic Files
+
Step 7 Use the SAP HANA SQL Statements Collection
+
Step 8 Knowledge check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Install the SAP HANA Database Explorer Extension 2. Create a Local Connection 3. View Database Object Dependencies 4. Work with SQL Files on the File System 5. Use Multiple SQL Consoles in Visual Studio Code 6. View Diagnostic Files 7. Use the SAP HANA SQL Statements Collection 8. Knowledge check