Describe the difference between truncate and delete
Describe the difference between truncate and delete
To answer the interview question "Describe the difference between TRUNCATE and DELETE in SQL," you can provide a detailed comparison highlighting the key differences between these two commands:
DELETE FROM table_name WHERE condition;
DELETE FROM Employee WHERE City = 'San Antonio';
TRUNCATE TABLE table_name;
TRUNCATE TABLE Employee;
middle
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào