SQL 2005恢复数据库的问题和海量数据查询

SQL 2005恢复数据库的问题

 Issue:

   The backed-up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade this database.

 

Reason:

         You can not restore or attach a sql2005 db to sql2000.
         You would need to export all the data, then import it back.

 

         但是我是从英文SQL 2005版本backup的,想要恢复到中文版本SQL 2005上,也出现这个问题。

         问题处在 中文版本SQL 2005上是从2000升级上来的,可能只装了2005的客户端。

 

Solution:

         倒Schema和脚本,然后import数据。比较麻烦。。。

        

        1. uninstall sql2000 and setup 2005

        2. in the other sql2005 export all tables to a different platform (access or excel) and import them.

 

        3. 最省劲的方法: 用SQLExpress实例恢复,注意恢复的目录等。呵呵

 

.net海量数据分页通用存储过程
文章出处:http://www.diybl.com/course/4_webprogram/asp.net/asp_netxl/2007125/90427.html

注意点: 排序字段 不能是分类等重复内容或空,最好是PK或Name。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值