Quick Backup MySQL / Oracle table


This is a script I use often to get a quick back up of a database table before doing any changes to it.


CREATE TABLE BK_TBL_TEST AS SELECT * FROM TBL_TEST;

Hope this helps for those quick backups. 🙂

Advertisements

Let me know what you think .. :)

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