Skip to Main Content

Ask The Oracle Mentors

Recently Answered

Recently Answered 2.0

  • #SELECTION#
    Chris Saxon

    Architectural Advice: Reporting via Pipelined Functions vs. Views in a 4-Schema SmartDB

    I am implementing a 4-Schema SmartDB architecture for an Oracle APEX project to strictly enforce the principle of least privilege. My schemas are: DATA_LAYER (Tables), LOGIC_LAYER (Private Logic), API_LAYER (Public Interface), and APEX_UI_LAYER (Parsing Schema). I am currently de...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    Numeric sorting inside strings

    This query: with T1 as ( select 'A4' from dual union select 'A3' from dual union select 'A100' from dual union select 'A20' from dual ) select * from t1; produces the normal sort: A100 A20 A3 A4 In recent Oracle versions ( 19 and later ) is there a
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    String to rows using connect by

    <u></u>table has two rows select id,value from IIO_SYSTEM_PARAMETER; 200 1027/1029/1000 199 1027/1029/1000 when I ran the below query, it is giving 7 records, instead of 3 records query1: SELECT REGEXP_SUBSTR(VALUE, '[^/]+', 1, LEVEL) DEST FROM
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    Massive Space Discrepancy (13GB Allocated vs 23MB Data) in List-Hash Partitioned Table

    I am troubleshooting a severe storage efficiency issue on a batch logging table in our Oracle 19c database on the below table Table DDL: CREATE TABLE APP_BATCH_LOGS ( BATCH_ID VARCHAR2(100 CHAR) NOT NULL, -- Partition Key PROCESS_ID VARCHAR2(100
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    WITH Clause Doesn't Work in MOUNTED Database

    When querying a mounted database, an ORA-01219 occurs when querying anything besides instance views such as v$database. This is even the result when using a WITH clause that, itself, is an allowed query for a mounted database. For example: SQL> select status from v$instance; STAT...
    #MISC#
    #ACTIONS#

Upcoming Live Sessions

Upcoming Ask TOM Live report