SQL Server 2000转储语句
您好,我正在将一些数据库从 sql 2000 迁移到 sql 2008。
在运行升级顾问时,我收到一条消息,指出存在带有转储/加载语法的对象。已经不再使用了。
所以我在一个过程中找到了以下文本
Dump DataBase @name to @path With Init
进一步调查我发现这是一个备份并且语法是相似的。
我的疑问是:这是否可以替换为:
Backup DataBase @NomeBanco to @nomeBkp With Init
是否需要到磁盘? (这个Dump在不使用to disk的情况下可以用来备份到磁带吗?)
这两种说法有什么区别吗?
这个命令之间的主要区别是什么。
谢谢 加布里埃尔
Hi I'm migrating a few databases from sql 2000 to sql 2008.
while running upgrade advisor I got a message that says that there are objects with the Dump/Load sintax. that is not on use anymore.
So I found the following text in a proc
Dump DataBase @name to @path With Init
Further investigating I discovered that this was a backup and that the sintax is similar.
My doubt is: Can this be replaced to:
Backup DataBase @NomeBanco to @nomeBkp With Init
is a to disk required? (can this Dump be used to backup to tape when used without the to disk?)
Is there any difference between the two statements?
Whats the main difference between this commands.
Thanks
Gabriel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,MSDN BOL 表示与 SQL Server 兼容 2005(DUMP 并被用来代替 BACKUP)
所以我的结论是它对于 SQL Server 2008 有效,因为 BACKUP 与 SQL Server 2005 保持相同,但删除了对 DUMP 的支持
Yes, MSDN BOL says compatible for SQL Server 2005 (DUMP and be used instead of BACKUP)
So my conclusion would be it's valid for SQL Server 2008 given BACKUP stays the same as SQL Server 2005, except support for DUMP is removed