Which statement should you use to delete all rows in a table without logging the action?
Thursday, December 29, 2022
Add Comment
Question: Which statement should you use to delete all rows in a table without logging the action?
Options:
1. Drop table statement
2. Delete table statement
3. Truncate table statement
Answer: Truncate table statement. The Truncate table statement deletes all of the rows in the table and does not log or record the action. It is much faster than the Drop table statement, which requires a lot of logging and recording the action.
0 Komentar
Post a Comment