如何将sql2000的数据库附加到sql2008

编程入门 行业动态 更新时间:2024-10-24 18:26:26
本文介绍了如何将sql2000的数据库附加到sql2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如何将数据库从SqlServer 2000附加到SqlServer 2008 ????:confused:

推荐答案

1.使用SQL Server 2008内置的数据库还原功能. 2.在SQL脚本中使用RESTORE命令来执行它. 还原(Transact-SQL) [ ^ ] 1. Use SQL Server 2008 , database restore functionality that is in-built. 2. Use RESTORE command in SQL scripts to perform it. RESTORE (Transact-SQL)[^]

就像其他人所说的很明显,您没有费心尝试.一件事,一旦执行此操作,您将无法回到SS2000. As someone else said, it''s obvious you had not bothered to try. One thing, once you do this, you won''t be able to move back to SS2000.

另一种简单的方法是.... 在sqlserver 2000中备份当前数据库, 在sqlserver 2008中创建具有相同名称的数据库 现在使用选项覆盖现有数据库来还原sqlserver 2008中的数据库 或从2000分离数据库并将其附加到sqlserver2008 Another Simple way is.... In sqlserver 2000 take backup of the current database, create database with same name in sqlserver 2008 now restore the database in sqlserver 2008 with option overwrite the existing database or detach the database from 2000 and attach it in sqlserver2008

更多推荐

如何将sql2000的数据库附加到sql2008

本文发布于:2023-11-10 01:05:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573940.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何将   数据库

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!