Skip to Main Content

Ask The Oracle Mentors

Recently Answered

Recently Answered 2.0

  • #SELECTION#
    Chris Saxon

    Top-N Stopkey: ROWNUM vs ROW_NUMBER() vs FETCH FIRST in correlated subqueries

    A tuning book says window functions and the 12c row limiting clause often fail to trigger Top‑N Stopkey even with a perfect index, so I tried to reproduce that behavior and saw the same thing—ROWNUM uses stopkey, but ROW_NUMBER() and FETCH FIRST don’t. Here’s the test case and th...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    Creation of Dynamic Region OR Dynamic Interactive Report

    Before understand question mind I have one table with 3 columns one is id second is description and third is sql query, i created one Apex page with two region one is static region and one is Interactive Report Region. In Static region i have one select list for user and in Inter...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    CREATE DATABASE LINK using the CONNECT WITH clause fails with ORA-00946: missing TO keyword

    I'm trying to create a database link using the CONNECT WITH clause that's mentioned in the documentation for CREATE DATABASE LINK so that I can use a database credential in the DDL statement. The doc I'm referring to is : https://docs.oracle.com/en/database/oracle/oracle-database...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    About LiveSQL and FreeSQL

    Hi all, I have a problem with liveSQL. I can't create a sharable link. Even with FreeSQL, can't do so. Appreciate any help. Thnks
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    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