Random Posted April 3, 2003 Share Posted April 3, 2003 Is there a way to write a PHP script that I just execute that will completely remove everything from a database? Thanks. Quote Link to comment Share on other sites More sharing options...
DocSeuss Posted April 3, 2003 Share Posted April 3, 2003 you can use DELETE FROM table; on all your tables, I don\'t know off hand if there is a single command to do a whole database. This will remove all data from tables but the tables themselves will remain. Quote Link to comment Share on other sites More sharing options...
pallevillesen Posted April 3, 2003 Share Posted April 3, 2003 DROP ...check the syntax P. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.