
Connect with sqlplus from the command line using a connection …
May 13, 2014 · 2 Your sqlplus line looks correct, verify the following: You can connect as sysdba on the database server itself. You can connect as the user you are trying to on the database …
How to download and setup SQLPlus for running SQL commands?
Are you sure you need SQLPlus and not Oracle SQL Developer? The command-line SQLPlus is useful for some things, but most development is much easier with an IDE like Oracle SQL …
How do I pass arguments to a PL/SQL script on command line …
Sep 20, 2016 · How can I run sqlplus.exe so that I can pass arguments to the script? @ECHO off // where HOST030 is a tnsnames alias to a machine, port, and instance sqlplus.exe …
How to use sqlplus to connect to an Oracle Database located on …
Feb 15, 2012 · I want to connect to an oracle database located on another host using sqlplus. This page suggested adding an item on my tnsnames to connect to that database local_SID = …
sql - sqlplus statement from command line - Stack Overflow
Is it possible to do something like this? $ sqlplus -s user/pass "select 1 from dual" or $ echo "select 1 from dual" | sqlplus -s user/pass I know I can put select 1 from dual in a file and do th...
Connect to sqlplus in a shell script and run SQL scripts
Oct 1, 2024 · I have a .sql file, which is a bunch of oracle pl/sql commands and I want to create a shell script to run these commands. Suppose that user/pass@server is my credentials. What …
sqlplus - executing a .sql file in sql plus terminal - Stack Overflow
Aug 19, 2016 · I have written couple of sql scripts in a text file and saved them with a .sql extension. I want to execute these scripts in the sql plus terminal without having to manually …
shell - What is -s option in sqlplus used for? - Stack Overflow
Feb 3, 2017 · Am little new to shell script and would like to know the use of -s option [sqlplus -s] in shell script. Thanks in advance.
sqlplus - sql*plus @ vs @@ to run a file - Stack Overflow
Unfortunately @@dir/file.sql works relative to sqlplus's current working dir, like @, so it means oracle will never be able to fix this defect, unless they invent @@@.
Oracle Database connection via SQLPLUS - Stack Overflow
Mar 5, 2014 · I am trying to connect to my Oracle database from SQLPlus, but I'm not able to connect. I have Oracle client(10g) on my machine. Below are the details through which I am …