新聞中心
我們今天主要向大家講述的是在對SQL Server 2008 進行數(shù)據(jù)格式修改之時沒有對按鈕進行保存的實際情況的解決,同時我們?yōu)榱烁釉敿毜膶ζ溥M行講解,我們已圖例演示的方式對其進行說明。

成都創(chuàng)新互聯(lián)公司專注于企業(yè)成都全網(wǎng)營銷、網(wǎng)站重做改版、溧陽網(wǎng)站定制設計、自適應品牌網(wǎng)站建設、H5技術、成都商城網(wǎng)站開發(fā)、集團公司官網(wǎng)建設、外貿(mào)營銷網(wǎng)站建設、高端網(wǎng)站制作、響應式網(wǎng)頁設計等建站業(yè)務,價格優(yōu)惠性價比高,為溧陽等各大城市提供網(wǎng)站開發(fā)制作服務。
如果你使用的是 SQL Server 2008, 當你修改數(shù)據(jù)結構后,保存時會報下圖情況:
Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.
這是 SQL Server 2008 的一種自我保護,當你的修改可能導致數(shù)據(jù)表被刪除并重新創(chuàng)建時(dropped and re-created),就會有這個提醒。
導致表被重新創(chuàng)建可能是以下幾種情況:
在表中間添加一個新列;
刪除列
更改列為 Null 性
更改列的順序
更改列的數(shù)據(jù)類型
若要不使用這個保護,需要在“工具”菜單中單擊“選項”,展開“設計器”,然后單擊“表設計器和數(shù)據(jù)庫設計器”。 清除“阻止保存要求重新創(chuàng)建表的更改”復選框。
on the Tools menu, click Options, expand Designers, and then click Table and Database Designers. Select or clear the Prevent saving changes that require the table to be re-created check box.
如下圖:
參考資料:
Save (Not Permitted) Dialog Box
以上的文章主要向大家介紹的是SQL Server 2008數(shù)據(jù)格式修改時,沒有保存按鈕的情況解決,望大家會有所收獲。
文章名稱:SQLServer2008數(shù)據(jù)格式修改時應注意什么?
網(wǎng)頁鏈接:http://fisionsoft.com.cn/article/djdsdcj.html


咨詢
建站咨詢
