On 10/25/2013 2:10 PM, Louis Jean-Richard wrote:
CREATE TRIGGER atable_updated AFTER UPDATE ON atable FOR EACH ROW WHEN last_update != date('now')
You have to say which row last_update should come from: old.last_update or new.last_update
-- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users