Russell A <slurc...@yahoo.com.au> wrote:
> This may be a really dumb question, but I've searched and can't find an 
> answer.
> Do SQLite triggers support any conditional expressions, like IF, or is there 
> only the WHEN statement? If the latter, does that
> mean that multiple conditions must be in separate triggers? Any help 
> appreciated.Stopgap.

What kind of conditions do you have in mind? Could you give an example? There 
is no IF statement in SQLite, but one can get creative with the WHEN clause on 
the trigger itself, and the WHERE clauses of individual statements within the 
trigger.

Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to