+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    newbie5 is offline Call me super inquisitive
    Join Date
    Jun 2002
    Posts
    178

    Oracle gurus - where can I locate TBL$OR$IDX$PART$NUM procedure?

    Gurus,

    This recursive SQL is executed by SYS during an exchange partition command.

    I am trying to locate this TBL$OR$IDX$PART$NUM procedure?

    Where is it? How to go about locating it?

    Thanks.


    SELECT distinct TBL$OR$IDX$PART$NUM("BBUKDW"."VISIT_TX", 0, "CALENDAR_DT")
    FROM (SELECT "D"."CALENDAR_DT" CALENDAR_DT FROM "BBUKDW"."JPL_DAY" "D"
    WHERE "D"."FINANCIAL_WEEK_ID">=200218 AND "D"."FINANCIAL_WEEK_ID"<=200222)
    ORDER BY 1}

  2. #2
    Join Date
    Nov 2005
    Location
    Indianapolis
    Posts
    24

    What is the goal?

    I'm not sure what that is, but may I ask what information you are trying to return? Maybe someone will have another way to get the same data.

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    It's an undocumented internal function to return the partition number in which a row belongs. You can get some hits by Googling for it.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Click Here to Expand Forum to Full Width