begin declare PlatformBulletin --定义游标 open PlatformBulletin --打开游标 declare @userid int,@zmscompanyid int fetch next from PlatformBulletin into @userid,@zmscompanyid ) begin insert into oa_BulletinUser(BulletinID,AttachmentGUID,ToUserID,IsRead,ReadTim…