About 3,350,000 results
Open links in new tab
  1. 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 type the standalone sql scripts, but i'm struggling with it.

  2. A Using SQL Command Line - Oracle

    SQL Command Line (SQL*Plus) is a command-line tool for accessing Oracle Database XE. It enables you to enter and run SQL, PL/SQL, and SQL*Plus commands and statements to: Query, insert, and update data

  3. SQL*Plus Quick Start - Oracle Help Center

    Now you can start entering and executing SQL, PL/SQL and SQL*Plus statements and commands at the SQL> prompt. Example - To start SQL*Plus and connect to a database other than the default Open a UNIX or a Windows terminal and enter the SQL*Plus command:

  4. Run Oracle SQL script and exit from sqlplus.exe via command …

    Apr 17, 2017 · Yes, it's possible -- generate a wrapper script which sets up SQLPlus appropriately, includes your script (ie. @YourTargetScript.sql), and then does an exit.

  5. 5 Using Scripts in SQL*Plus - Oracle Help Center

    Use START to run a script containing SQL commands, PL/SQL blocks, and SQL*Plus commands. You can have many commands in the file. Follow the START command with the name of the file: START file_name. SQL*Plus assumes the file has a .SQL extension by default.

  6. SQL*Plus Tutorial on the Command-Line Interface (CLI)

    May 25, 2021 · SQL*Plus provides an interactive and batch processing environment that dispatches commands to the SQL and PL/SQL engines. You can work either in the interactive SQL*Plus command-line interface (CLI) or in Oracle SQL Developer through a Java-based GUI.

  7. Connect to sqlplus in a shell script and run SQL scripts

    Oct 1, 2024 · Feeding the SQL statements to sqlplus on its standard input (via a here doc in this example) prevents the password from appearing in the process list. If you need to specify a different host or service name, e.g. one defined in your tnsnames.ora, append @service_name to the CONNECT statement above. What is this more secure than?

  8. Oracle / PLSQL: Execute a SQL script file in SQLPlus - TechOnTheNet

    Answer: To execute a script file in SQLPlus, type @ and then the file name. SQL > @{file} For example, if your file was called script.sql, you'd type the following command at the SQL prompt:

  9. How to Run Script in SQL Plus and Save the Output - Richbase

    Apr 10, 2018 · In the first example, we change the path to /oracle_staging and then run SQL Plus and execute the script directly in SQL Plus environment. In the second example, we start SQL Plus and execute the script by giving both path and file name.

  10. PL/SQL First Program: Hello World Example - Guru99

    Nov 21, 2024 · In this tutorial, we will introduce SQL* Plus and learn how to connect it to the database. After connection, we are also going to see how to write our first program “Hello World” in PL/SQL. What is SQL* Plus? SQL* Plus is an interactive and batch query tool that is installed with every Oracle installation.

  11. Some results have been removed
Refresh