摘要: ALTERproc[dbo].[FirstCreatePayFuture]asdeclare@identity_idnvarchar(50);declare@countint;set@count=0;DECLAREvendor_cursorCURSORFORselectdistinctidentity_idfromdbo.T_Billstbwheretb.identity_id!=''OPENvendor_cursor--打开游标FETCHNEXTFROMvendor_cursorINTO@identity_id--遍历数据while(@@FETCH_STATUS=0)--判断 阅读全文
posted @ 2012-07-10 16:45 cn_king 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 权限问题 无法升级数据库 'SqlDB',因为它是只读的: 1. 问题原因:sa的权限不足。当前sa是NetworService ; 2. 解决方法:将用户的登录身份修改为“Local Service”;用Windows身份用户登录 阅读全文
posted @ 2012-07-10 15:32 cn_king 阅读(137) 评论(0) 推荐(0) 编辑