Do we have transactions in MS-Access?

前端 未结 3 1966
野性不改
野性不改 2020-11-29 08:25

I am developing a small desktop application using C#.NET and MS-Access. I don\'t have any prior experience of MS-Access. I want to know if we can use transa

3条回答
  •  清歌不尽
    2020-11-29 08:51

    It looks like we do: MSDN - TRANSACTION Statement (Microsoft Access SQL)

    Transactions are not started automatically. To start a transaction, you must do so explicitly using:

    BEGIN TRANSACTION
    

    Conclude a transaction by committing all work performed during the transaction:

    COMMIT [TRANSACTION | WORK]
    

    Conclude a transaction by rolling back all work performed during the transaction:

    ROLLBACK [TRANSACTION | WORK]
    

提交回复
热议问题