第483章 赎罪钱 (5 / 8) 首页

字体:      护眼 关灯

上一章 目录 下一章

第483章 赎罪钱 (5 / 8)
         -- Check authority (only SQLServerAgent can add a step to a non-local job)

         EXECUTE @retval = sp_verify_jobproc_caller @job_id = @job_id, @program_name = N'SQLAgent%'

         IF (@retval <> 0)

         RETURN(@retval)

         EXECUTE @retval = sp_verify_job_identifiers '@job_name',

         '@job_id',

         @job_name OUTPUT,

         @job_id OUTPUT,

         @owner_sid = @job_owner_sid OUTPUT

         IF (@retval <> 0)

         RETURN(1) -- Failure

         IF ((ISNULL(IS_SRVROLEMEMBER(N'sysadmin'), 0) <> 1) AND

         (SUSER_SID() <> @job_owner_sid))

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

更多完整内容阅读登陆

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


上一章 目录 下一章