0
出力データは表示されません私は(Macクライアントを経由してリモートで)実行します。のSQLPLUS配管 -
echo "select table_name from user_tables" | sqlplus 'myuser/[email protected]:myport/mysid'
私が表示はデータを取得していない:
SQL*Plus: Release 12.1.0.2.0 Production on Wed Nov 2 15:12:57 2016
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> 2 Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
しかし、私は、私はそれを実行したときので、それが動作します知っています対話モード(すなわち無配管)に私は戻ってデータを取得します:
SQL> select count(*) from user_tables;
COUNT(*)
----------
353
を私はので、私はそれがとても表示するように期待していたlogin.sql
を持っていませんたとえそれが醜いものであっても、
私は間違っていますか?