新聞中心
文章主要描述的是SQL Server 2005游標錯誤的正確解決方法,其中中文錯誤信息之此游標不屬于正在修改的表,或該表不能通過此游標更新,其英文錯誤信息:The cursor does not include the table being modified or the table is not updatable through the cursor.

創(chuàng)新互聯(lián)建站專注于企業(yè)成都全網(wǎng)營銷推廣、網(wǎng)站重做改版、橋東網(wǎng)站定制設(shè)計、自適應(yīng)品牌網(wǎng)站建設(shè)、HTML5建站、商城網(wǎng)站建設(shè)、集團公司官網(wǎng)建設(shè)、外貿(mào)網(wǎng)站建設(shè)、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計等建站業(yè)務(wù),價格優(yōu)惠性價比高,為橋東等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。
其原因是由于計算機名和sql server 2005的servername不一致所致。
解決方法:
先執(zhí)行
- select @@servername
查看數(shù)據(jù)庫中的servername
然后執(zhí)行:
- sp_dropserver 'old_name'
- go
- sp_addserver 'new_name', local
其中old_name為select @@servername語句的結(jié)果,new_name為主機名。 以上的相關(guān)內(nèi)容就是對SQL Server 2005游標錯誤的解決方法的介紹,望你能有所收獲。
上述的相關(guān)內(nèi)容就是對SQL Server 2005游標錯誤的解決方法的描述,希望會給你帶來一些幫助在此方面。
本文標題:SQLServer2005游標錯誤的破解方案
鏈接地址:http://m.fisionsoft.com.cn/article/cdegojj.html


咨詢
建站咨詢
