1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| @echo off
|
| set /p oracle_user="input oracle user: "
|
| set /p oracle_password="input password: "
|
| set /p oracle_tablespaces="input default tablespace: "
|
| set sql_path="."
|
| set /p flag="execute Y|N: "
|
|
| if %flag%==Y (sqlplus / as sysdba @%sql_path%\create_user.sql %oracle_user% %oracle_password% %oracle_tablespaces%)
|
| echo "xxxxx"
| pause
|
|