Skip to content

Commit 936228d

Browse files
authored
Create shell-sqlplus-pass-pw-from-file.sql
1 parent febc7be commit 936228d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shell-sqlplus-pass-pw-from-file.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/ksh
2+
3+
#source the password file
4+
. ./path_to/secret_data.txt
5+
sqlplus -s username/$sys_pass@wherever as sysdba << END
6+
...
7+
END

0 commit comments

Comments
 (0)