I’m able to run an SQL query by piping it to SQL*Plus:
@echo select count(*) from table; | sqlplus username/password@database
Give
@echo execute some_procedure | sqlplus username/password@databasename
a try.
More Related Contents:
- Determining location of relevant tnsnames.ora file
- ORA-12514 TNS:listener does not currently know of service requested in connect descriptor
- Oracle: Import CSV file
- When or Why to use a “SET DEFINE OFF” in Oracle Database
- PL/SQL ORA-01422: exact fetch returns more than requested number of rows
- Sql*plus always returns exit code 0?
- SQL*Plus how to accept text variable from prompt?
- Convert epoch to date in sqlplus / Oracle
- oracle SQL plus how to end command in SQL file?
- How to View Oracle Stored Procedure using SQLPlus?
- ANYONE CAN TELL ME THAT WHY THIS CODE IS GIVING ME AN ERROR OF TABLE OT CLUSTER KEY WORD IS MISSING? [closed]
- How do I escape a reserved word in Oracle?
- How to put more than 1000 values into an Oracle IN clause [duplicate]
- ORA-30926: unable to get a stable set of rows in the source tables
- Fetch Oracle table type from stored procedure using JDBC
- “Safe” TO_NUMBER()
- error: ORA-65096: invalid common user or role name in oracle
- How to display table data more clearly in oracle sqlplus
- Oracle insert if not exists statement
- Error : ORA-01704: string literal too long
- Oracle client ORA-12541: TNS:no listener [closed]
- sqlplus statement from command line
- Create an Excel Spreadsheet from a Oracle Database
- How do I turn off Oracle password expiration?
- ORACLE IIF Statement
- Table-Valued Functions in ORACLE 11g ? ( parameterized views )
- How to increase performance for bulk INSERTs to ODBC linked tables in Access?
- Oracle Age calculation from Date of birth and Today
- ORA-12705: Cannot access NLS data files or invalid environment
- How to see refcursor result/output in Oracle SQL Developer? [duplicate]