> sqlite> create trigger UpdateData after update on tablea begin > ...> delete from tableb where id=old.refb and id not in ( select > refb from tablea );
Yep, that's exactly what I need. Thank you! Dennis _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users