Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Copy a table from 1 schema to another

Re: Copy a table from 1 schema to another

From: sybrandb <sybrandb_at_gmail.com>
Date: 14 Aug 2006 01:52:09 -0700
Message-ID: <1155545529.888547.121880@m73g2000cwd.googlegroups.com>

rj wrote:
> Hi all,
>
> What is the statement to copy a table and all content to another
> schema. I dont need a link or any synchronization, just that table.
>
> Thanks in advance..

create <target user>.<table_name>
as select * from <source user>.<table_name> indexes and grants will not be copied automagically, and you'll need CREATE ANY TABLE privilige to complete this action, if you are connected as the source user.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Mon Aug 14 2006 - 03:52:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US