http://www.orapub.cn/posts/1624.html 一.以下在Oracle APP中执行: 1) Set the Profile Option: ‘Initialization SQL Statement – Custom’ at the USER level to the following statement all on one line: 在用户层设置配置文件 Initialization SQL Statement – Custom的值为以下脚本(一般粘帖复制即可…
导出数据库为dmp文件,按照当前导出时间设置文件名称 @ECHO OFF ECHO 备份 SCOTT 用户的数据…… SET DBUserName=scott SET DBPassword= SET DBName=orcl SET DATE_STRING=%DATE% SET TIME_STRING=%TIME% IF "%DATE_STRING:~3,1%"==" " ( SET DATE_STRING=%DATE:~,% ) ELSE ( SET DATE_ST…