About 498,000 results
Open links in new tab
  1. 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 Developer.

  2. Connect with sqlplus from the command line using a connection string

    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 server itself. …

  3. 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...

  4. 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 = (DESCRIPTION …

  5. oracle database - How can I issue a single command from the …

    Mar 12, 2009 · 6 sqlplus user/password@sid < sqlfile.sql This will also work from the DOS command line. In this case the file sqlfile.sql contains the SQL you wish to execute.

  6. 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 will be the …

  7. Writing sqlplus output to a file - Stack Overflow

    Apr 13, 2013 · Using sqlplus.exe I'm looking for a way to write sqlplus output to a file. Is there anyway I can do that, currently the output is written only to the console.

  8. How do I pass arguments to a PL/SQL script on command line with …

    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 …

  9. 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 @@@.

  10. mysql - Where is Oracle sqlplus located? - Stack Overflow

    Jun 19, 2014 · Background Coming from a mysql background, I find getting started with Oracle quite a different experience. Question Where do I find this command tool for Oracle? I have checked …