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

回答(1 个)

Piyush Kumar
Piyush Kumar 2024-9-30

0 个投票

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.

标签

提问:

2014-11-6

Community Treasure Hunt

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

Start Hunting!

Translated by