snopy
V2EX  ›  问与答

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

  •  1
     
  •   snopy · Nov 2, 2016 · 1051 views
    This topic created in 3542 days ago, the information mentioned may be changed or developed.
    #数据入库

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

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

    想问下这里的 echo 所在行是怎样执行入库操作的
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5384 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 09:05 · PVG 17:05 · LAX 02:05 · JFK 05:05
    ♥ Do have faith in what you're doing.