Database Toolbox mdf-database

Hi there,
I've just started to use the Database Toolbox, and I was wondering, if connection to an mdf-database is possible? The mdf-database is created in Visual Studio and uses an SQL server.
If not possible, can I convert the mdf-file into a toolbox compatible database and back?
Thanks in advance

Answers (1)

Piyush Kumar
Piyush Kumar on 30 Sep 2024
You can create a SQL server database using the mdf file. Check the "Create a database with T-SQL commands" section of this link.
Once database is created, connect to it using database function.

Products

Tags

Asked:

on 6 Nov 2014

Answered:

on 30 Sep 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!