Want to examine the code for oracle supplied packages

Posted on 2012-09-05
Last Modified: 2012-09-06
Is there a way to explore oracle supplied packages through a dictionary view or through some other means?

For example, if I want to go explore and examine the code behind DBMS_OUTPUT , how can I find it?

Question by:Mark_Co
    LVL 76

    Accepted Solution

    All code can be seen in DBA_SOURCE.

    Most Oracle code is WRAPPED:

    There are some claims around that you can unwrap the code but there are likely license/legal issues in even trying.

    Short of that, it is likely in nativly compiled C/Java code.  Not sure how to see that.

    I personally feel that you won't be able to 'legally' get what you are after.

    Author Comment

    OK, thank you
    LVL 23

    Expert Comment

    I may easily be mistaken, but I think you will need to first receive the SELECT ANY DICTIONARY system privilege.

    Author Comment

    much obliged for the tip
    LVL 36

    Expert Comment

    by:Geert Gruwez
    legally, the easiest way,
    go work at oracle :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Suggested Solutions

    Title # Comments Views Activity
    surrogate key in database world 6 60
    display data from previous rows 5 57
    Extract only part of data 5 75
    oracle global variables 4 36
    Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
    Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
    This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
    This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now