Copy table data between users in Oracle

Source: Internet
Author: User

Table replication under the same Oracle user is also called table backup. Although it is called differently, it is essentially the same:

Syntax: create table AB as select * from B

This means that all copies of Table B are used to create table AB.

Table replication between different users must be performed by users with dba permissions:

For example, under a system user:

Create the orders_back table in the user to back up the orders table in the scott user.

Create table user. orders_back as select * from scott. orders;

The two images below are all under the same user. They are not implemented under the system user, and the principles are the same. If you are interested, study them on your own.

Quick Response after Oracle accidentally deletes table data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.