On 8 May 2011, at 9:42pm, Nico Williams wrote: > CREATE TRIGGER ON <db-event> BEGIN ... END; > > where <db-event> is one of DATABASE CONNECT, DATABASE DISCONNECT, > TRANSACTION START, TRANSACTION COMMIT, and TRANSACTION ROLLBACK.
Just asking to warn you it's tricky ... A) When do you consider that a transaction starts ? B) How do you deal with ATTACHed databases ? Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users