SQL Server 2008R2資料庫檔案匯入到SQL Server 2008資料庫中

來源:互聯網
上載者:User

標籤:sql 2008   sql server安裝   sql 2008r2   

        最近,電腦重裝系統之後,安裝了SQL Server 2008。附加資料庫檔案的時候,發現無法附加,提示版本不對。想起來,原來的資料庫版本是SQL Server 2008R2。低版本的資料庫管理工具無法相容高版本的資料庫檔案,所以無法直接附加。我有10幾個這樣的資料庫檔案需要附加到資料庫管理工具中,上網百度一番之後,沒有查到什麼特別的捷徑。最後,只好選擇了先將這些數據庫檔案附加到一台安裝了SQL Server 2008R2的電腦上,再匯出資料指令碼,通過資料指令碼還原資料庫檔案到SQL Server 2008資料庫管理工具中的辦法。匯出的時候,一開始遇到點小問題,導致無法匯出資料指令碼,只能匯出資料庫結構指令碼。反覆幾次,才明白是匯出選項中,SQL Server 2008R2與SQL Server 2008的上輩子選項不大一樣。經過調整,終於全部成功匯出,並且成功恢複到SQL Server 2008資料庫管理工具中。

        操作過程如下所示:  650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356902_4860.png" style="border:none;" />

650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356903_8648.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356903_5738.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356904_2319.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356904_1000.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356921_6916.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356921_4830.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356922_5875.png" style="border:none;" />

650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384357309_4063.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356922_2870.png" style="border:none;" />


650) this.width=650;" src="http://img.my.csdn.net/uploads/201311/13/1384356929_9285.png" style="border:none;" />

本文出自 “搖曳的風箏” 部落格,請務必保留此出處http://pinzi.blog.51cto.com/4845903/1603838

SQL Server 2008R2資料庫檔案匯入到SQL Server 2008資料庫中

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.