首页新闻找找看学习计划

关于cmd命令求解

0
悬赏园豆:5 [已解决问题] 解决于 2020-02-27 10:35

LET l_filename2 = 'dsdata.sh'
LET l_cmd = "echo ' sqlplus dsdata/dsdata@topprd < $1' >$HOME/" || l_filename2 CLIPPED
RUN l_cmd

LET l_filename = 'productorder2.sch'

LET l_cmd = " rm $HOME/" || l_filename CLIPPED
RUN l_cmd

LET l_sql = " INSERT INTO productorder2@testdb(ordercode,status) VALUES(‘a’,4); "

LET l_cmd = ' echo "',l_sql CLIPPED, '" > $HOME/' || l_filename CLIPPED
RUN l_cmd

LET l_str = "sh $HOME/",l_filename2 CLIPPED," $HOME/", l_filename CLIPPED
RUN l_str

哪个大神指教一下上面代码的意思?

AaronLi的主页 AaronLi | 初学一级 | 园豆:40
提问于:2019-12-27 16:54
< >
分享
最佳答案
0

这个是linux shell 脚本
不是cmd

连接数据库执行 sql

收获园豆:5
codegay | 小虾三级 |园豆:1692 | 2019-12-28 04:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册