How to get started developing applications for SQL Server on Linux

You can create applications that connect to and use SQL Server vNext CTP 2.0 on Linux from a variety of programming languages, such as C#, Java, Node.js, PHP, Python, Ruby, and C++. You can also use popular web frameworks and Object Relational Mapping (ORM) frameworks.

Tip

These same development options also enable you to target SQL Server on other platforms. Applications can target SQL Server running on-premises or in the cloud, on Linux, Windows, or Docker on macOS. Or you can target Azure SQL Database and Azure SQL Data Warehouse.

Try the tutorials

The best way to get started and build applications with SQL Server is to try it out for yourself.

Tip

If you want to develop for SQL Server vNext CTP 2.0 on Docker, take a look at the macOS tutorials.

Create new applications

If you're creating a new application, take a look at a list of the Connectivity libraries for a summary of the connectors and popular frameworks available for various programming languages.

Use existing applications

If you have an existing database application, you can simply change its connection string to target SQL Server vNext CTP 2.0 on Linux. Make sure to read about the Known Issues in SQL Server vNext CTP 2.0 on Linux.

Use existing SQL tools on Windows with SQL Server on Linux

Tools that currently run on Windows such as SSMS, SSDT, and PowerShell, also work with SQL Server vNext CTP 2.0 on Linux. Although they do not run natively on Linux, you can still manage remote SQL Server instances on Linux.

See the following topics for more information:

Note

Make sure that you are using the latest versions of these tools for the best experience.

Use new SQL tools for Linux

You can use the new mssql extension for Visual Studio Code on Linux, macOS, and Windows. For a step-by-step walkthrough, see the following tutorial:

You can also use new command-line tools that are native for Linux. These tools include the following:

Next steps

To install SQL Server vNext on Linux and get started, see Get started with SQL Server on Linux.