About 355 results
Open links in new tab
  1. Oracle Live SQL

    Try Live SQL V2! Running on Oracle Database 23ai Start Coding View Scripts and Tutorials Instructor's Guide

  2. Oracle Live SQL

    How to Find Gaps in Dates with SQL Pattern Matching This shows you how to find gaps in rows containing start/end dates using match_recognize. You can make this a reusable SQL …

  3. Oracle Live SQL - Script: Error Message Functions: SQLERRM and …

    Even though some other parts of Oracle Database store error codes as unsigned integers (LOG ERRORS, SAVE EXCEPTIONS).

  4. Oracle Live SQL - Tutorial: PL/SQL Anonymous Blocks

    Static SQL With PL/SQL it is easy to integrate SQL statements, the example below shows a an example of using SELECT INTO with an Oracle data dictionary table. DECLARE howmany …

  5. SAVE EXCEPTIONS and FORALL - An Exploration - Oracle Live SQL

    Oracle error is ORA-12899: value too large for column (actual: , maximum: ) Statement 5

  6. How NOT to Handle Exceptions in PL/SQL - Oracle Live SQL

    If you can anticipate a certain being raised and "That's OK", then handle it explicitly, either with an "IF SQLCODE = " inside WHEN OTHERS or by declaring an exception, associating it with the …

  7. Code Library - Oracle Live SQL

    Script EMP and DEPT Example EMP and DEPT tables. Classic Oracle tables with 4 departments and 14 employees. Includes a...

  8. Test Your PL/SQL Exception Handling Knowledge - Oracle Live SQL

    Oh My That's a Big String! DECLARE aname VARCHAR2 (5); BEGIN BEGIN aname := 'Big String'; DBMS_OUTPUT.put_line (aname); EXCEPTION WHEN VALUE_ERROR THEN …

  9. If Exception Not Re-raised, No More Exception! - Oracle Live SQL

    Just to avoid any misunderstanding: in this block, SQLCODE is "written" outside of the exception section, but it is executed from within the OTHERS handler, so SQLCODE will properly show …

  10. Finding, deleting and preventing duplicate rows - Oracle Live SQL

    Description Examples of SQL queries to: - Find duplicated rows in a table - Delete these - Add a unique constraint to prevent new invalid rows This also shows how you can use the …