E1Tips Qucik Tip

Create a Backup of a Table in an Oracle Database

Read Time:17 Sec

E1Tips Qucik Tip

I seem to have to look this one up each time…

The SQL statement below will create a duplicate of a table in an Oracle Database.

CREATE TABLE NewTableName AS SELECT * FROM ExistingTableName;

Hope this helps someone else.

Let me know how it worked for you or if  you have improvements to it in the comments.

Author

Stewart Schatz

Career: Principal CNC Consultant for Syntax Systems Limited specializing Oracle JD Edwards EnterpriseOne and the technology that supports it. Side Hustle: Owner/Operator of E1Tips.com Location: Lancaster, PA USA  What I like to do: Invest in Family, Explore Technology, Lead Teams, Share Knowledge/Experience, Hunt, Hike, etc.
Happy
Happy
0
Sad
Sad
0
Excited
Excited
0
Sleepy
Sleepy
0
Angry
Angry
0
Surprise
Surprise
0

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

needle-in-haystack Previous post Needle: REST API for Server Manager
Quick_Tip_Linux Next post The Easiest Way To Truncate the Oracle Database listener.log On A Linux Server