How to Truncate a Table in MySQL?

1 Answer(s)
    TRUNCATE TABLE table_name;
    
    --the TABLE keyword is actually optional:
    TRUNCATE table_name;
    Answered on September 7, 2021.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.