-/*set term !! ;
-create trigger tr_message_bi for tb_messages active
-before insert position 0
-as
-begin
- if (new.pk_message is null)
- then new.pk_message = gen_id(gn_pk_message, 1);
-end !!
-set term ; !!*/
-
-/*set term !! ;
-create trigger tr_stat_bi for tb_stats active
-before insert position 0
-as
-begin
- if (new.pk_stat is null)
- then new.pk_stat = gen_id(gn_pk_stat, 1);
-end !!
-set term ; !!*/
-