在SQL2005数据库中利用SQL语句进行数据备份与还原:
备份backup:backup database 数据库名称 tO disk = 备份路径
例:BACKUP DATABASE test TO disk = 'd:ak est.bak'
恢复restore:
restore database 数据库名称from disk = 备份路径
例:RESTORE DATABASE test FROM disk = 'd:ak est.bak'
在SQL2005数据库中利用SQL语句进行数据备份与还原:
备份backup:backup database 数据库名称 tO disk = 备份路径
例:BACKUP DATABASE test TO disk = 'd:ak est.bak'
恢复restore:
restore database 数据库名称from disk = 备份路径
例:RESTORE DATABASE test FROM disk = 'd:ak est.bak'