How to open and edit mdf sql server database files on linux

Tareq Nassry picture Tareq Nassry · Apr 26, 2012 · Viewed 7.6k times · Source

How to open and edit mdf sql server database files on linux?

I use ubuntu!

Answer

Martín Coll picture Martín Coll · Dec 14, 2016

As of December 2016, there is a SQL Server version for Linux. The recommended approach would be to run SQL Server from the official Docker image:

Then it would be as simple as running SQL scripts against your database. There even exists a VS Code plugin for managing your databases: https://github.com/Microsoft/vscode-mssql.