关于事务在DELPHI中怎么编写??
关于存储器和触发器又如何编写??
先谢谢了!!!

解决方案 »

  1.   

    AConnectionDB1.BeginTrans;
    AConnectionDB1.CommitTrans;
    AConnectionDB1.RollbackTrans;
      

  2.   

    事務參考樓上!
    存储過程:
    create procedure pro_xxx
    as
    ..............触发器:
    create trigger trigg_xxx
    on table1
    for delete, insert,update
    as
    ............
      

  3.   

    AConnectionDB1.BeginTrans  开始事务
    AConnectionDB1.CommitTrans 完成事务
    AConnectionDB1.RollbackTrans 事务回滚,取消事务