5 つのレコードを持つ Employee テーブルがあり、以下のスクリプトを実行しています。スクリプトの結果は、EmpID 2 のレコードを返します。同時に、レコードが削除されます。これは正しい方法ですか?
begin transaction A
select * from Employee where EmpID=2
begin transaction B
delete from Employee where EmpID=2
commit transaction B
commit transaction A