About 489,000 results
Open links in new tab
  1. Sample PL/SQL Programs - Oracle

    Sample PL/SQL Programs. This appendix provides several PL/SQL programs to guide you in writing your own. The sample programs illustrate several important PL/SQL concepts and features. This appendix discusses the following topics: Running the Programs Sample 1. FOR Loop Sample 2. Cursors Sample 3. Scoping Sample 4. Batch Transaction Processing ...

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

    In SQL*Plus command-line, the use of an external editor in combination with the @, @@ or START commands is an effective method of creating and executing generic scripts. You can write scripts which contain SQL*Plus, SQL and PL/SQL commands, which you can retrieve and edit.

  3. 2 Using SQL Scripts - Oracle

    A SQL script is a set of SQL commands saved as a file in SQL Scripts. A SQL script can contain one or more SQL statements or PL/SQL blocks. You can use SQL Scripts to create, edit, view, run, and delete script files.

  4. Oracle Live SQL - Script: Creating and Modifying Tables

    Script Name Creating and Modifying Tables; Description This example creates the admin_emp table in the current schema and modifies the table in various ways. It is based on examples in the Oracle Database Administrator's Guide. Area SQL General; Referenced In Database Administrator's Guide; Contributor Oracle; Created Monday October 05, 2015

  5. Sample Models and Scripts - Oracle

    With SQL Developer Data Modeler, you don't need to be connected to a database to create a design. You can start creating a new design from scratch open an exisiting design or import a DDL script to create a new model. Below are a set of models and DDL scripts based on the Oracle Sample Schema. Use these to get to know the Data Modeler.

  6. Script: PL/SQL the Block Structured Language - Oracle Live SQL

    Description This script demonstrates some basic aspects of the PL/SQL block. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. Only the executable part is required.

  7. Oracle Live SQL - Script: Simple Table Function Example: …

    Here's an example of calling the table function, converting to a SQL dataset, assigning it to a cursor variable, and then returning that via the function. This function could then be invoked from a host environment, say a Java program, and the data will be consumed.

  8. Sample data to run queries - docs.oracle.com

    Download the script acctstream_loaddata.sql and run it as shown below. This script creates the table used in the example and loads data into the table. One sample row is shown below. The subscriber's account ID, acct_id is the primary key of the table. The fields profile_name and account_expiry contain the subscriber’s details.

  9. DBA Scripts for Oracle (12c, 11g, 10g, 9i, 8i)

    ORACLE-BASE - DBA Scripts for Oracle 23ai, 21c, 19c, 18c, 12c, 11g, 10g, 9i and 8i. Articles. Oracle 8i Oracle 9i Oracle 10g Oracle 11g Oracle 12c Oracle 13c Oracle 18c Oracle 19c Oracle 21c Oracle 23ai Oracle 24ai Miscellaneous PL/SQL SQL Oracle RAC Oracle Apps WebLogic Linux MySQL. Scripts; Blog; Videos; Misc.

  10. Oracle Sample Database - Oracle Tutorial

    Summary: This tutorial introduces you to an Oracle sample database and shows you how to load it into the Oracle Database Server. We provide you with an Oracle sample database named OT, which is based on a global fictitious company that sells computer hardware, including storage, motherboards, RAM, video cards, and CPUs.

Refresh