About 3,530,000 results
Open links in new tab
  1. How do I run PL/SQL code within SQLPlus? - Stack Overflow

    Sep 30, 2009 · The EXEC statement takes a line of code and wraps it in a BEGIN/END block. In this case you want to split your call over several lines of code, so you'll probably find it easier to add the BEGIN/END yourself:

  2. How to Execute stored procedure from SQL Plus?

    Mar 27, 2013 · You have two options, a PL/SQL block or SQL*Plus bind variables: var z number execute my_stored_proc (-1,2,0.01,:z) print z

    Missing:

    • Platform

    Must include:

  3. How to execute PL/SQL Oracle in sqlplus? - Stack Overflow

    Nov 12, 2015 · Action: Execute a statement and then fetch or describe the data. You need to use OPEN cursor FOR... statement: v_final :=v_select|| v_from|| v_where; -- open the cursor OPEN cv_1 FOR v_final;

  4. 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?

    Missing:

    • Platform

    Must include:

  5. How do I execute an executable from PLSQL - Ask TOM - Oracle

    Feb 22, 2007 · Run this in one window for example and in anther window go into sql*plus and try: SQL> exec host( 'ls -l' ); SQL> exec host( 'uptime' ); SQL> exec host( 'echo Hello World' ); SQL> exec host( 'exit' ); You'll see the output of ls -l, uptime, and echo happen on the other window where the shell script is running (shows you a way to debug pl/sql ...

  6. using SQL*Plus in Pl/Sql - Ask TOM - Oracle Ask TOM

    Jun 4, 2008 · sqlplus is a command line scripting environment that can run a plsql block of code in the server. sqlplus is sqlplus - sqlplus is the user interface. sqlplus runs sqlplus commands (like connect, set, spool) - plsql cannot, plsql runs elsewhere in the network, in the server.

  7. How to write sqlplus to execute stored procedures and sql

    Nov 18, 2024 · How to Write SQL*Plus to Execute Stored Procedures and SQL Statements. SQL*Plus is a powerful command-line tool that allows users to interact with Oracle databases. It provides a straightforward interface for executing SQL statements and PL/SQL blocks, including stored procedures.

    Missing:

    • Platform

    Must include:

  8. How to run PL/SQL Program using Notepad - Code Revise

    To run a PL/SQL program using notepad, you have to write your code in notepad and then execute the program by using SQL*Plus tool. Steps: 1. Write following PL/SQL program code in notepad and save file as ‘world.sql’. 2. Install Oracle Client (if not installed) and ensure, if your Oracle Database or Oracle Client installed with SQL* Plus tool.

    Missing:

    • Platform

    Must include:

  9. Master PL/SQL Programming Quickly and Easily - Oracle Tutorial

    What is PL/SQL – introduce you to PL/SQL programming language and its architecture. Anonymous Block – explain PL/SQL anonymous blocks and show you how to execute an anonymous block in SQL*Plus and Oracle SQL Developer tools.

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

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

    Missing:

    • Platform

    Must include:

  11. Some results have been removed
Refresh