Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e42ff3

Browse files
committed
Create runsql.sh
1 parent 85c9d18 commit 6e42ff3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

runsql.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sql=$1
2+
#obj=`echo $obj|sed 's/\$/\\\$/g'`
3+
#echo $obj
4+
5+
sqlplus -s / as sysdba <<EOF
6+
$sql
7+
EOF

0 commit comments

Comments
 (0)