can use trigger to monitor data change:
CREATE TRIGGER 'Profit'.'Main'.'NBC_Detail'
WHERE (NBC_Detail, Total, Department, Direct_GL, no_detail, budget,final, product,Location, FY12, Jan)
WHEN NBC_Detail<100 THEN MAIL ([email server],[from@emailaddress],[to@emaiaddress],[NBC_Detail])
END;
if NBC_Detail data become less than 100, a alert email will be sent out.
can run that in MaxL. or create a trigger in EAS
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8583032/viewspace-716299/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8583032/viewspace-716299/
本文介绍了一种使用触发器监控数据库中特定数据变化的方法。当数据表NBC_Detail中的某条记录数值小于100时,将通过邮件通知相关人员。此方案可在MaxL或EAS环境中实现。
142

被折叠的 条评论
为什么被折叠?



