📜  将 .mdf 转换为 .bak - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:33.929000             🧑  作者: Mango

代码示例1
BACKUP DATABASE [NameOfDatabase] TO  DISK = N'D:\path\filename.bak' WITH NOFORMAT, NOINIT,  NAME = N'NameOfDatabase-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10