标签: database database-restore
我通过以下代码从我的数据库创建备份:
"USE DBFP; " + "BACKUP DATABASE DBFP " + "TO DISK = '" + strFileName + "'";
但是当我想通过此代码恢复此备份时:
"RESTORE DATABASE DBFP FROM DISK = '" + strFileName+"'"
这个错误将会出现:
Invalid zero-length device name!