criando TRIGGER no fb 2.5

1 view
Skip to first unread message

mcsolf

unread,
Sep 5, 2014, 3:01:55 PM9/5/14
to proje...@googlegroups.com
esta query roda normal no firebird 1.5 mais não cria no 2.5, alguém já passou por isto. 

CREATE TRIGGER ESTOQUE_DIA_AU0 FOR PRODUTO
ACTIVE AFTER UPDATE POSITION 0
AS
begin
  /* Trigger text */


  insert into estoque_dia values(produto.cod_produto
                                ,produto.estoque
                                ,(select (current_timestamp)from rdb$database)
                                );

end
Reply all
Reply to author
Forward
0 new messages