セクション 4. 章 6
single
Challenge: Simulate a Transaction Rollback
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
In this task, you will simulate a failed transaction in SQL and ensure that no changes are saved to the database. This exercise builds on your understanding of transaction logic and data integrity.
- Begin a transaction.
- Update the
balanceforaccount_id = 1001by subtracting 100.00. - Simulate an error that would cause the transaction to fail.
- Roll back the transaction so that the balance remains unchanged.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 4. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください