Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Moving tables from a tablespace
Thanks guys, I finally managed to move the table from the wrong
tablespace. I used the way ASAF suggested and then for some I used a
tool called DBArtisan. Its a good tool as far as I know.
Thanks for all ur help
Raju
In article <382A85E2.74510744_at_synergy-infotech.com>,
Anurag Minocha <anurag_at_synergy-infotech.com> wrote:
> will this help if the tables to be moved are system tables present in
the user
> tablespace and you want them to move into user table space
>
> Anurag
>
> also reply at
> anurag_at_synergy-infotech.com
>
> Steve McDaniels wrote:
>
> > in the destination tablespace, create a user to "receive" the
tables.
> > in the source tablespace, grant select on the tables to this user.
> > in the source tablespace, create yourself a script something like
> >
> > select 'create table ' || table_name || ' as select * from ' ||
owner || '.'
> > || table_name from all_tables
> >
> > this script produces something like this:
> >
> > 'CREATETABLE'||TABLE_NAME||'ASSELECT*FROM'||OWNER||'.'||TABLE_NAME
> >
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 17 1999 - 06:35:00 CST