shell 模板
shell 模板
#/bin/sh
processl=`sqlplus -s dcm/dcm@215.8.7:11521/dcsdb<<E0F
INSERT INTO T1 () VALUSES();
COMMIT;
EXIT;
EOF`
#/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`
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`
INSERT INTO T1 () VALUSES();
COMMIT;
EXIT;
EOF`
echo "result is:"
echo $value
echo $value