SQLServer2008R2示例数据库AdventureWorks2008R2和AdventureWorksDW2008R2,无ldf文件,附加方法:CREATEDATABASE数据库名字ON(FILENAME='mdf文件路径')FORATTACH_REBUILD_LOG