V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
snopy
V2EX  ›  问与答

echo + sqlplus 执行过程是怎样的?

  •  1
     
  •   snopy · 2016-11-02 11:08:08 +08:00 · 625 次点击
    这是一个创建于 2745 天前的主题,其中的信息可能已经有所发展或是发生改变。
    #数据入库

    tianqi=`cat /home/bonc/report_zx/Tourism_shell/temp_bak/sql2.txt`

    echo "$tianqi"|sqlplus -s 用户名 /密码

    想问下这里的 echo 所在行是怎样执行入库操作的
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3262 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:38 · PVG 20:38 · LAX 05:38 · JFK 08:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.