wangting
2024-04-25 a2c6cc3e47d67fb6c7bc1d4c71e681d480aa8d6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off
 
set /p oracle_dir="input oracle directory: "
 
set /p oracle_path="input oracle path: "
 
set /p oracle_user="input user who you grant write,read on directory: "
 
set sql_path="."
 
set /p flag="execute Y|N: "
 
 
if  %flag%==Y (sqlplus / as sysdba @%sql_path%\create_dir.sql %oracle_dir% %oracle_path% %oracle_user% )