--:--









Quiz for TRUNCATE

Course: SQL | Subject: SQL | Topic: Data Definition Language (DDL)



Logo

Q1: What is the difference between DELETE and TRUNCATE?

Logo

Q2: What does the TRUNCATE statement do in SQL?

Logo

Q3: Can TRUNCATE be rolled back in a transaction in all RDBMS?

Logo

Q4: Does TRUNCATE fire triggers?

Logo

Q5: Can you truncate a table referenced by a foreign key?

Logo

Q6: Which command resets the identity column in SQL Server?

Logo

Q7: TRUNCATE is classified under which type of SQL command?

Logo

Q8: Is TRUNCATE allowed on a table with indexed views in SQL Server?

Logo

Q9: Which statement is minimally logged in most SQL databases?

Logo

Q10: Does TRUNCATE free the table’s space?

Logo

Q11: Can you use WHERE clause with TRUNCATE?

Logo

Q12: Which of the following can TRUNCATE not affect?

Logo

Q13: Which statement is more resource-intensive?

Logo

Q14: TRUNCATE can be used on which of the following?

Logo

Q15: Which statement preserves table structure but removes data?

Logo

Q16: In Oracle, can TRUNCATE be undone?

Logo

Q17: Which of the following does TRUNCATE reset?

Logo

Q18: Does TRUNCATE require explicit permissions?

Logo

Q19: TRUNCATE is NOT supported in which SQL operation?

Logo

Q20: Which is true about TRUNCATE and DELETE?

Are you ready to start test? Set your time limit