snopy
V2EX  ›  问与答

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

  •  1
     
  •   snopy · Nov 2, 2016 · 982 views
    This topic created in 3491 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   ·   1014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 19:05 · PVG 03:05 · LAX 12:05 · JFK 15:05
    ♥ Do have faith in what you're doing.