Error "At least one file is needed for database attach" for DB attach
Posted muzilingling
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error "At least one file is needed for database attach" for DB attach相关的知识,希望对你有一定的参考价值。
While we want to attach a singal .MDF file(without log file) for a DB in SQL SERVER, we will meet the problem "At least one file is needed for database attach" enven if renamed the MDF to the same name with target DB.
we can use the cmd as below:
CREATEDATABASE AdventureWorks2008R2 ON
(FILENAME=N‘E:\SQLBI\AdventureWorks2008R2.mdf‘)
FORATTACH
GO
以上是关于Error "At least one file is needed for database attach" for DB attach的主要内容,如果未能解决你的问题,请参考以下文章
使用Mysql Workbench 导入数据库提示 ERROR 1227 (42000) at line 18: Access denied; you need (at least one of) t
红警3"please install at least one language pack"
yarn出现“There are no scenarios ; must have at least one"
yarn出现“There are no scenarios ; must have at least one"
出现错误,org.postgresql.util.PSQLException: ERROR: syntax error at or near "." ,当尝试将列表传递给休眠中的新