第二千二百五十三章 乾元剑帝 (2 / 10) 首页

字体:      护眼 关灯

上一章 目录 下一章

第二千二百五十三章 乾元剑帝 (2 / 10)
         exec @retcode = sys.sp_MSreplcheck_subscribe

         if @retcode<>0 or @@ERROR<>0

         return 1

         -- use the dbowner role

         select @DbPrincipal = N'db_owner'

         select @lock_resource = N'MSinternal_repl_merge_upgrade_subscriber' + convert(nvarchar(6), db_id())

         exec @retcode = sp_getapplock @Resource = @lock_resource,

         @LockMode = @lockmode,

         @LockOwner = N'Session',

         @LockTimeout = @timeout, -- wait till the the given @timeout time to get it

         @DbPrincipal = @DbPrincipal

         if @@error<>0 or @retcode<0 -- lock was not acquired

         begin

  The content is not finished, continue reading on the next page

更多完整内容阅读登陆

《墨缘文学网,https://wap.mywenxue.org》
加入书签我的书架


上一章 目录 下一章