oracle 批量改temp/data/redo file的路径

批量生成修改路径的脚本.
select 'alter database rename file ''' || name ||'''' || ' to '''|| substr(name,0,instr(name,'/',-1) -1)|| '_ST' || substr(name,instr(name,'/',-1)) ||''';'
from v$datafile;

select 'alter database rename file ''' || name ||'''' || ' to '''|| substr(name,0,instr(name,'/',-1) -1)|| '_ST' || substr(name,instr(name,'/',-1)) ||''';'
from v$tempfile;

select 'alter database rename file ''' || member ||'''' || ' to '''|| substr(member,0,instr(member,'/',-1) -1)|| '_ST' || substr(member,instr(member,'/',-1)) ||''';'
from v$logfile;

上一篇:Android手机_软件安装目录


下一篇:无需Root实现Android手机屏幕流畅投影到电脑进行演示(附软件下载)