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 回滾事務事務