> create trigger CountType after insert on abc
> begin
>     update abcCount set
>         TypeCountA = TypeCountA + (new.TypeID = 1),
>         TypeCountB = TypeCountB + (new.TypeID = 2);
> end;

Thank you - that looks great!

   Dennis

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

Reply via email to