What is the key difference between the `DELETE` command and the `TRUNCATE` command in SQL?
SQL में `DELETE` कमांड और `TRUNCATE` कमांड के बीच मुख्य अंतर क्या है?
Solution Breakdown:
-> Both `DELETE` and `TRUNCATE` keep the empty table structure intact, but `TRUNCATE` is much faster for emptying a large table because it deallocates data pages without logging individual row deletions.
-> Hence, Option (B) is the correct answer.
-> दोनों में टेबल की संरचना सुरक्षित रहती है, लेकिन `TRUNCATE` बिना `WHERE` के पूरी टेबल को बहुत तेज़ी से खाली कर देता है।
-> इसलिए विकल्प (B) बिल्कुल सही है।