执行Bat脚本
@echo off sqlplus sys/[email protected] as sysdba @C:\Users\yangfan\Desktop\login.sql echo 按任意键结束... pause>nul exit
login.sql文件存储sql语句。
create or replace directory DIR as ‘F:\备份‘; grant read,write on directory dir to sde; disconn; exit;
时间: 2024-10-11 12:24:49