Solved

Oracle Create backup table

Posted on 2014-09-08
3
439 Views
Last Modified: 2014-09-08
I have a table named TableA.  How do I copy it to a backup named TableA_Bak?

Thanks,
0
Comment
Question by:Dovberman
3 Comments
 
LVL 48

Assisted Solution

by:PortletPaul
PortletPaul earned 200 total points
ID: 40311325
CREATE TABLE TableA_Bak
  AS (SELECT * FROM TableA);
0
 
LVL 6

Accepted Solution

by:
Mandeep Singh earned 300 total points
ID: 40311339
try this:
create table TableA_Bak as select * from TableA;

Open in new window


also if you want only structure:
create table TableA_Bak as select * from TableA where 1=0;

Open in new window

0
 

Author Closing Comment

by:Dovberman
ID: 40311371
Thank you.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now