Dropping All Tables from a Database

When work with a remote database sometime the database schema changes so dramatically that it is just easier to drop all of the database tables and recreate them but you don’t want to delete the database. This is a simple way to remove all tables in one clean step.

In the database to empty open a new query window. Add the following SQL code and then execute.

//pastebin.com/embed_iframe/y5ydt6dF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s