1、如果表A与表B的结构完全相同,且有相同的主键,那么表A中已有的记录就无法插入了
2、数据库连接是否有问题在TRIGGER里是可以这样判断
   select 1 into aa from [email protected] (给出一个肯定成立的条件)
   if aa=1 then
      DB连接无误
   end if
   exception
      when others then
           DB连接故障