Rename tablespace in oracle db
Imported guide
oracle configurationintermediate
by OracleDba
12 views
Imported guide
1234567891011121314151617
SQL❯
select file_id,file_name,tablespace_name from dba_data_files where file_id=37;
FILE_ID FILE_NAME TABLESPACE_NAME
---------- -------------------------------------------------------- ------------------------------
37 /home/oracle/app/oracle/oradata/cdb1/testin1.dbf TESTING
--- Rename the tablespace_name from TESTING to PRODUCING;
SQL❯
alter tablespace TESTING rename to PRODUCING;
Tablespace altered.
SQL❯
select file_id,file_name,tablespace_name from dba_data_files where file_id=37;
FILE_ID FILE_NAME TABLESPACE_NAME
---------- -------------------------------------------------------- ------------------------------
37 /home/oracle/app/oracle/oradata/cdb1/testin1.dbf PRODUCINGPlease to add comments
No comments yet. Be the first to comment!