Delete coding....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • redskycorp
    New Member
    • Jul 2007
    • 29

    #1

    Delete coding....

    Can someone please tell the SQL coding to delete all data in a table ? I just started learning SQL and this is really bugging me...thanks...
  • redskycorp
    New Member
    • Jul 2007
    • 29

    #2
    Sorry guys....found the answer....

    Comment

    • mwasif
      Recognized Expert Contributor
      • Jul 2006
      • 802

      #3
      Which did you use?

      [CODE=mysql]DELETE FROM table_name[/CODE]
      OR
      [CODE=mysql]TRUNCATE TABLE table_name[/CODE]

      Comment

      Working...