标签:
以示例数据库NorthWind为例 在sql窗口中执行一下语句
EXEC sp_attach_db @dbname = ‘NorthWind‘,
@filename1 = ‘C:\Users\hupengyang\Desktop\northwnd\northwnd.mdf‘, --mdf文件路径
@filename2 = ‘C:\Users\hupengyang\Desktop\northwnd\northwnd.ldf‘ --ldf文件路径
标签:
原文地址:http://www.cnblogs.com/HuberyHu/p/5468818.html