on 10-02-2006 6:00 PM
Hi,
While adding a new datafile to a tablespace using brtools, I mistakenly added <tspname>.data instead of <tspname>.data2 while copy/paste. I want to change it to the right naming convention.
How can I do it?
Thanks in advance.
Cyrus
Look at the note 868750:
http://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=868750
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Cyrus,
1:Connect to the database as SYSTEM.
2:Bring the tablespace offline:
sql>alter tablespace TOOLS offline;
3:Copy the datafile to the new location at the OS file system level:
!cp /ora006/oradata/FTWT29OR/tools.dbf \
/ora007/oradata/FTWT29OR/tools.dbf
4:Rename the datafile on Oracle:
sql>alter database
rename file '/ora006/oradata/FTWT29OR/tools.dbf'
to '/ora007/oradata/FTWT29OR/tools.dbf';
5:Bring the tablespace online:
sql>alter tablespace TOOLS online;
Note :Here I took example as tools tablespace.
Let me know the result.
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.