【转】SQL Server 数据库内部版本号
-----------数据库还原或版本升级出现版本错误时可参考。
Internal SQL Server Database Version Numbers
|
The database 'MyDatabase' cannot be opened because it is version 665.
This server supports version 661 and earlier. A downgrade path is not supported.
“MyDatabase" 的数据库无法打开,因为它是665版本。该服务器支持661和更早版本。不支持降级路径。
|
可以利用SQL语句查看本机数据库版本:
select @@VERSION
database version. These internal version numbers are undocumented but
are (at least currently) the same value reported by the
DATABASEPROPERTYEX function 'Version' property of the source
database. If you are unsure of the source database version, the table
below maps the internal version numbers to SQL Server versions so you
can determine the minimum version you need for the attach to succeed:
Server版本的内部版本号,以便您可以决定您需要的附加成功的最低版本:
|
SQL Server Version
|
Internal Database Version
|
|
SQL Server 2008 R2
|
665
|
|
SQL Server 2008
|
661
|
|
SQL Server 2005 SP2+ with vardecimal enabled
|
612
|
|
SQL Server 2005
|
611
|
|
SQL Server 2000
|
539
|
|
SQL Server 7
|
515
|
or restore. The internal database version will be as above after a
successful attach or restore.
|
Target SQL Server Version
|
Source SQL Server Version
|
Internal Database Version
|
|
SQL Server 2008 R2
|
SQL Server 2008 R2
|
665
|
|
SQL Server 2008
|
661
|
|
|
SQL Server 2005 with vardecimal enabled
|
612
|
|
|
SQL Server 2005
|
611
|
|
|
SQL Server 2000
|
539
|
|
|
SQL Server 2008
|
SQL Server 2008
|
661
|
|
SQL Server 2005 with vardecimal enabled
|
612
|
|
|
SQL Server 2005
|
611
|
|
|
SQL Server 2000
|
539
|
|
|
SQL Server 2005 SP2+
|
SQL Server 2005 with vardecimal enabled
|
612
|
|
SQL Server 2005
|
611
|
|
|
SQL Server 2000
|
539
|
|
|
SQL Server 7
|
515
|
|
|
SQL Server 2005
|
SQL Server 2005
|
611
|
|
SQL Server 2000
|
539
|
|
|
SQL Server 7
|
515
|
|
|
SQL Server 2000
|
SQL Server 2000
|
539
|
|
SQL Server 7
|
515
|
|
|
SQL Server 7
|
SQL Server 7
|
515
|
copy objects and data from the newer source database to the older target
if you need to downgrade; attach or restore is not an option to copy a
database to an earlier version.
【转】SQL Server 数据库内部版本号的更多相关文章
- SQL Server 数据库内部版本号
数据库还原或版本升级出现版本错误时可参考 可以利用SQL语句查看本机数据库版本:select @@VERSION 如果你不确定是源数据库的版本,下面的映射表的SQL Server版本的内部版本号,以便 ...
- SQL server 数据库用户表名称
转自(http://blog.163.com/jlj_sk/blog/static/22579293200861422833924/) 取得SQL server 数据库中 所有用户表名称 select ...
- .NET跨平台之旅:升级至ASP.NET 5 RC1,Linux上访问SQL Server数据库
今天微软正式发布了ASP.NET 5 RC1(详见Announcing ASP.NET 5 Release Candidate 1),.NET跨平台迈出了关键一步. 紧跟这次RC1的发布,我们成功地将 ...
- SQL Server数据库定时自动备份
SQL Server 数据库定时自动备份[转] 在SQL Server中出于数据安全的考虑,所以需要定期的备份数据库.而备份数据库一般又是在凌晨时间基本没有数据库操作的时候进行,所以我们不可能要求 ...
- C#操作access和SQL server数据库代码实例
在C#的学习中,操作数据库是比较常用的技术,而access和sql server 数据库的操作却有着不同.那么,有哪些不同呢? 首先,需要引用不同的类.因为有着不同的数据引擎. access:usin ...
- python 使用pymssql连接sql server数据库
python 使用pymssql连接sql server数据库 #coding=utf-8 #!/usr/bin/env python#------------------------------ ...
- NetBeans连接SQL server数据库教程
不废话,直接开始 1.下载sqljdbc.jar 可以从微软中国官方网站下载 SQLJDBC微软中国 笔者提供一个网盘链接Sqljdbc.jar 4个压缩包视版本选择,SQL 2012 用sqljdb ...
- SQL Server数据库备份的镜像
SQL Server数据库备份的镜像 一个完整备份可以分开镜像 USE master GO BACKUP DATABASE [testdatabase] TO DISK = N'C:\testdata ...
- SQL Server数据库镜像的页面自动修复原理
SQL Server数据库镜像的页面自动修复原理 主库页面损坏 镜像库页面损坏 LSN用来保证事务的时序 LSN保存在每个数据页面的页头 在同一台机器,内存中的数据页和磁盘中的数据页保持同步依靠的是数 ...
随机推荐
- !! Android developer 最新国内镜像
Android developer 最新国内镜像: http://wear.techbrood.com, 包含Android最新文档以及Android Wear,Android TV,Android ...
- sql 随笔 2015-08-07
xls 导入数据库 --删除现有数据 DELETE FROM dbo.PhoneList --插入数据 insert into dbo.PhoneList --读取xls数据 ) , as [Enab ...
- 分布式缓存系统热点key解决方案
1. 读访问量高(万级别及以上),读访问远大于写访问 这种情况典型的业务场景之一就是存储配置信息,配置信息一般数据量较小,更新频率低,但读访问量高.这种场景有两种方法优化: a. 对同一个key存储多 ...
- dojo 十二 rest
从今年8月份开始一直在做以HTML5+CSS3+Dojo实现前端设计,以REST风格实现后台数据请求的项目研发.实践出真知,现在对研发中用到的技术和遇到的问题做一个总结. 后台服务没有采用那些主流的框 ...
- 虚拟机 linux系统如何安装vmware Tools
1.打开VMware Workstation虚拟机,开启CentOS系统 虚拟机-安装VMware Tools 登录CentOS终端命令行 2.mkdir /media/mnt #新建挂载目录 ...
- hdu - 1242 Rescue && hdu - 2425 Hiking Trip (优先队列+bfs)
http://acm.hdu.edu.cn/showproblem.php?pid=1242 感觉题目没有表述清楚,angel的朋友应该不一定只有一个,那么正解就是a去搜索r,再用普通的bfs就能过了 ...
- Android gingerbread eMMC booting
Android gingerbread eMMC booting This page is currently under construction. The content of this page ...
- linux学习之centos(三):网卡配置
Linux系统版本:Centos 6.5 在linux学习之centos(二):虚拟网络三种连接方式和SecureCRT的使用中,使用远程工具SecureCRT,通过“ifconfig eth0 + ...
- Android开源库--ActiveAndroid(active record模式的ORM数据库框架)
Github地址:https://github.com/pardom/ActiveAndroid 前言 我一般在Android开发中,几乎用不到SQLlite,因为一些小数据就直接使用Preferen ...
- git plumbing 更加底层命令解析-深入理解GIT
原文: http://rypress.com/tutorials/git/plumbing 本文详细介绍GIT Plumbing--更加底层的git命令,你将会对git在内部是如何管理和呈现一个项目r ...