Core component of SQL Server for storing, processing, and securing data
SQL Server and Visual Studio are separate products. Installing Visual Studio 2026 (or 2022) does not install SQL Server itself, so the SQL Server 2022 program folder can be present but empty or missing database engine binaries if SQL Server was not installed or the installation failed.
To work with SQL Server from Visual Studio, install SQL Server and then connect to it:
- Verify SQL Server 2022 is actually installed
- Check in Apps & Features (Windows settings) for entries like
Microsoft SQL Server 2022. - If installation previously failed or only tools were installed, reinstall SQL Server 2022 from the official media and complete setup.
- Check in Apps & Features (Windows settings) for entries like
- Install SQL Server Data Tools (SSDT) in Visual Studio
- Open Visual Studio Installer.
- Modify the Visual Studio installation and select the Data storage and processing workload. This installs SSDT and SQL Server Object Explorer.
- Open SQL Server from Visual Studio
- In Visual Studio, go to View > SQL Server Object Explorer.
- In SQL Server Object Explorer, right-click the SQL Server node and select Add SQL Server.
- Enter the server name (for a local default instance, typically
localhostor.), credentials, and select Connect. - Expand the server and Databases nodes to browse and manage databases.
If SQL Server Object Explorer is not visible under View, ensure SSDT is installed as described above.
The empty SQL Server 2022 folder alone does not affect Visual Studio’s ability to connect; what matters is that the SQL Server instance is correctly installed and running, and that SSDT is present so Visual Studio can connect to it.
References: