SQL - How to backup a database and export as a MDF file with MS SQL 2008 R2

后端 未结 8 1589
故里飘歌
故里飘歌 2021-02-01 16:24

I have created a database \"test\" with some tables in MS SQL Server 2008 R2 (i.e. MS SQL Server Management Studio).

Now, I need to export this database as a MDF file.

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 16:54

    If you are in Visual Studio, go to SQL Server Object Explorer. Find the database you want, right click and select properties. In the properties tab, look for Data File, next to it will be the location for your mdf file.

提交回复
热议问题