|
原帖由 infobilling 于 2008-4-1 09:58 发表 ![]()
spool c:datafiles.txt
select 'alter database rename file '''||file_name||''' to '''||file_name||''';' from dba_data_files;
spool off
edit new location
create pfile from spfile
edit control file new location
cp all datafiles
run datafiles.txt
alter database tempfile ** drop
alter tablespace temp add tempfile ** size 50M
alter database open
不错.做下试试. |
|