Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server on Linux
You can create applications that connect to and use SQL Server on Linux from C#, C++, Go, Java, Node.js, PHP, Python, Ruby, and other languages. You can also use web frameworks, object-relational mappers (ORMs), and other data access libraries.
Tip
These development options can also target SQL Server on Windows or in containers. Many drivers also support Azure SQL and SQL database in Microsoft Fabric. Review the driver documentation for product and platform support.
Try a quickstart
- Browse to SQL connectivity and drivers.
- Select your language and development platform.
- Open the get-started guide or code samples.
Create new applications
If you're creating a new application, see Microsoft SQL drivers and frameworks to choose a driver and, when applicable, a framework or data access library.
Use existing applications
If you have an existing database application, you can change its connection string to target SQL Server on Linux. For more information, see SQL Server on Linux: Known issues.
Use existing SQL tools on Windows with SQL Server on Linux
Windows tools such as SQL Server Management Studio (SSMS), SQL Server Data Tools (SSDT), and PowerShell also work with remote SQL Server instances on Linux.
See the following articles for more information:
- Use SQL Server Management Studio on Windows to manage SQL Server on Linux
- Use Visual Studio to create databases for SQL Server on Linux
- Use PowerShell on Windows to manage SQL Server on Linux
Note
Make sure that you're using the latest versions of these tools for the best experience.
Use SQL tools on Linux
You can use the MSSQL extension for Visual Studio Code on Linux, macOS, and Windows. For a step-by-step walkthrough, see Quickstart: Run your first query with the MSSQL extension for Visual Studio Code.
You can also use command-line tools that are native to Linux. These tools include the following: