shell 模板

shell 模板
#/bin/sh
processl=`sqlplus -s dcm/dcm@215.8.7:11521/dcsdb<<E0F
INSERT INTO T1 () VALUSES();
COMMIT;
EXIT;
EOF`
process2=`sqlplus -s dcm/dcm@215.8.7:11521/dcsdb<<E0F
INSERT INTO T1 () VALUSES();
COMMIT;
EXIT;
EOF`
echo $process2
value=`sqlplus -s dcm/dcm@215.8.7:11521/dcsdb<<E0F
INSERT INTO T1 () VALUSES();
COMMIT;
EXIT;
EOF`
echo "result is:"
echo $value
posted @ 2020-10-22 12:03  rjm123456  阅读(79)  评论(0编辑  收藏  举报