Move table to another tablespace


bash-3.2$ sqlplus "/ as sysdba";
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 19 14:46:48 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
 Connected to:
 Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
 With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
 OLAP, Data Mining, Oracle Database Vault and Real Application Testing options
SQL>
 SQL>
 SQL> select name,open_mode from gv$database;
NAME OPEN_MODE
 --------- --------------------
 AZKKDB READ WRITE
 AZKKDB READ WRITE
SQL>
 SQL> alter table OC_MRC.MRC_IMEI move tablespace SS_TS_1;
Table altered.

table

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: