Results 1 to 3 of 3

Thread: Clear a table

  1. #1
    Join Date
    Feb 2005
    Location
    Sweden
    Posts
    45

    Unanswered: Clear a table

    Hi,

    I want to clear/reset a table. Can I do it in an SQL query?
    When I use DELETE FROM tblName the counter doesn't resets.

    Thanks for helping.

    //M

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    try TRUNCATE
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Feb 2005
    Location
    Sweden
    Posts
    45
    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •