If you do not have MSSQL installed, the easiest option is to install SQL Server Express , attach your mdf, then export from there. You have quite a few options, from the simplest export / import of csv, using a tool such as OpenDbCopy , or write your own code to connect to both the database and the load from one to the other.
source
share