34,594
社区成员
发帖
与我相关
我的任务
分享
INSERT INTO _Log VALUES(0, @asID, @ID, @Type, GETDATE(), @Pos, @Desc)
if not exists(select 1
from _Log
where [ID字段]=@ID and [时间字段]>=dateadd(mi,-1,getdate())
)
begin
INSERT INTO Notice(Sent, Mess)values(0,@Desc)
end