国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

SQL Server 數(shù)據(jù)庫內(nèi)部版本號

2019-11-10 20:13:26
字體:
供稿:網(wǎng)友

原文:http://blog.csdn.net/leamonjxl/article/details/8508974

-----------數(shù)據(jù)庫還原出現(xiàn)版本錯誤時可參考。

Internal SQL Server Database Version NumbersA database created by a more recent version of SQL Server cannot be attached or restored to an earlier version. This restriction is simply because an older version cannot know about file format changes that were introduced in the newer release. 較新版本的SQL Server創(chuàng)建的數(shù)據(jù)庫,不能附加或還原到較早的版本。這個限制僅僅是因為無法知道新版本中有關(guān)文件格式的變化。If you attempt to attach a database to an earlier version, you will get SQL Server error 948 with the internal version numbers listed in the error message text. For example, the following error occurs if you try to attach a SQL Server 2008 R2 database to a SQL Server 2008 server:如果您試圖附加一個數(shù)據(jù)庫到一個較早的版本,你會得到錯誤消息,的文本中列出的內(nèi)部版本號碼與SQL Server錯誤948。例如,出現(xiàn)以下錯誤如果您嘗試連接到SQL Server 2008服務(wù)器的SQL Server 2008 R2數(shù)據(jù)庫:
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" 的數(shù)據(jù)庫無法打開,因為它是665版本。該服務(wù)器支持661和更早版本。不支持降級路徑。
Sample text from SQL Server error 948從SQL Server錯誤948的樣本文本The cryptic version numbers in the error message refer to the internal 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:神秘的版本號錯誤消息是指內(nèi)部的數(shù)據(jù)庫版本。這些內(nèi)部版本號是無證的,但(至少目前)DATABASEPROPERTYEX函數(shù)'版本'源數(shù)據(jù)庫的屬性值相同報道。如果你不確定是源數(shù)據(jù)庫的版本,下面的映射表的SQL Server版本的內(nèi)部版本號,以便您可以決定您需要的附加成功的最低版本:
SQL Server VersionInternal Database Version
SQL Server 2008 R2665
SQL Server 2008661
SQL Server 2005 SP2+ with vardecimal enabled612
SQL Server 2005611
SQL Server 2000539
SQL Server 7515
SQL Server versions and internal database versionsBelow are the allowable SQL Server upgrade paths for a database attach or restore. The internal database version will be as above after a successful attach or restore.下面是允許的SQL Server數(shù)據(jù)庫附加或還原的升級路徑。附加或還原成功后內(nèi)部的數(shù)據(jù)庫版本將更改為高的版本號。
Target SQL Server VersionSource SQL Server VersionInternal Database Version
SQL Server 2008 R2SQL Server 2008 R2665
SQL Server 2008661
SQL Server 2005 with vardecimal enabled612
SQL Server 2005611
SQL Server 2000539
SQL Server 2008SQL Server 2008661
SQL Server 2005 with vardecimal enabled612
SQL Server 2005611
SQL Server 2000539
SQL Server 2005 SP2+SQL Server 2005 with vardecimal enabled612
SQL Server 2005611
SQL Server 2000539
SQL Server 7515
SQL Server 2005SQL Server 2005611
SQL Server 2000539
SQL Server 7515
SQL Server 2000SQL Server 2000539
SQL Server 7515
SQL Server 7SQL Server 7515
Database File Versions and Upgrade PathsAs I mentioned earlier, downgrades are not supported. You’ll need to 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.正如我剛才所說,不支持降級。你需要復(fù)制對象和數(shù)據(jù)從源數(shù)據(jù)庫更新到舊的目標,如果你需要降級附加或還原數(shù)據(jù)庫復(fù)制到一個較早的版本是不是一種選擇。
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 八宿县| 陇川县| 南投市| 兴和县| 丘北县| 青岛市| 宁陕县| 阿荣旗| 明溪县| 丽江市| 青浦区| 保靖县| 靖安县| 无棣县| 潜江市| 冷水江市| 广东省| 赤峰市| 永吉县| 娱乐| 景泰县| 杂多县| 柘荣县| 北碚区| 兴和县| 民县| 郴州市| 伊宁市| 吉安县| 蒙山县| 达日县| 名山县| 南部县| 项城市| 稻城县| 永济市| 筠连县| 蒙自县| 阿克苏市| 营口市| 招远市|