Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 app_data 文件夹中有 sql server express edition 本地数据库。
如何将 SQL Server Management Studio Express 与该数据库连接以执行 sql 脚本?
在 Management Studio 中,右键单击数据库,附加数据库并指向您的 mdf 文件。
如果是 MDF 文件,SQL Management Studio 无法打开它。
这篇文章可能会有所帮助:http ://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx