How do I back up a database to a .bak file?

前端 未结 5 1685
盖世英雄少女心
盖世英雄少女心 2021-02-02 11:43

I have a website I\'ve created in Visual Studio 2008 and I need to take it live. How can I backup the database file to a .bak so I can hand it over to the hosting company to pla

5条回答
  •  花落未央
    2021-02-02 11:59

    You don't need a backup to do so (I assume you are using the AttachDbFilename model that Visual Studio uses by default). Just send them the mdf and tell them to attach it to their SQL server instance.

提交回复
热议问题