EXEC sp_attach_single_file_db @dbname = 'pubs',
@physname = 'c:"Program Files"
Microsoft SQL Server"MSSQL"Data"pubs.mdf'
Microsoft SQL Server"MSSQL"Data"pubs.mdf'
转载于:https://www.cnblogs.com/SeeMeFly/archive/2009/05/14/1456569.html
来源:https://blog.csdn.net/weixin_30617797/article/details/99158377