StackOverflow 文档 SQL 教程 事务 简单事务 简单事务 Created: November-22, 2018 BEGIN TRANSACTION INSERT INTO DeletedEmployees(EmployeeID, DateDeleted, User) (SELECT 123, GetDate(), CURRENT_USER); DELETE FROM Employees WHERE EmployeeID = 123; COMMIT TRANSACTION 回滚事务事务