Wenn ich (remote über Mac-Client) ausführen:SQLPlus Biese - Ausgangsdaten nicht sichtbar
echo "select table_name from user_tables" | sqlplus 'myuser/[email protected]:myport/mysid'
Ich erhalte keine Daten angezeigt:
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
Aber ich weiß, es funktioniert, weil, wenn ich es laufen im interaktiven Modus (dh keine Rohrleitungen) kann ich Daten zurück:
SQL> select count(*) from user_tables;
COUNT(*)
----------
353
ich habe keine login.sql
so war ich erwartet, dass es so zu zeigen, egal, auch wenn es hässlich war.
Was mache ich falsch?