Firebird 2.5 中是否有临时字段?当我:
INSERT INTO table (..., tmp, ...) (..., val, ...)
我在插入前触发器中需要这样的东西:
...
new.field1=(SELECT t2.id FROM table2 t2 where t2.field3=new.tmp and t2.field4=new.field5)
new.field2=(SELECT t2.id FROM table2 t2 where t2.field3=new.tmp and t2.field6=new.field7)
...