Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
-
JellyFish
- DevNet Resident
- Posts: 1361
- Joined: Tue Feb 14, 2006 7:18 pm
- Location: San Diego, CA
Post
by JellyFish »
How do I delete all entries in a database table? It's quite destructive, but I think I'll might need to know how to do it.
Last edited by
JellyFish on Thu Sep 13, 2007 11:36 pm, edited 1 time in total.
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
Look into the TRUNCATE command.
-
JellyFish
- DevNet Resident
- Posts: 1361
- Joined: Tue Feb 14, 2006 7:18 pm
- Location: San Diego, CA
Post
by JellyFish »
Hey! Thanks feyd!
