QuestionQ227

VerifiedManipulating Data

Which statement is accurate about TRUNCATE and DELETE?

Explanation

DELETE can remove rows from tables that have referential-integrity constraints, as long as the operation does not violate the foreign-key relationship or a configured referential action, such as ON DELETE CASCADE, handles dependent rows. TRUNCATE is generally faster than DELETE when removing all rows from a large table.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!