How to get list of tables used in packages

Dear All
Can you pls tell me how to get list of tables used in packages
Regards

select referenced_name
  from user_dependencies
where name = 'your_package'
   and referenced_type = 'TABLE'Regards,
Rob.

Similar Messages

  • Parsing query and getting list of tables used

    Hi All,
       I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
       And need to validate that, the list of tables against a whitelist to maintained in the file.
      I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
      I require a help, Is there any other ways to get the list of tables used in a query?
    Thanks,
    Mahendran..

    user10279893 wrote:
    Hi All,
       I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
       And need to validate that, the list of tables against a whitelist to maintained in the file.
      I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
      I require a help, Is there any other ways to get the list of tables used in a query?
    Thanks,
    Mahendran..
    You'll never cover all scenarios by trying to parse a query.
    For example, what about a query that queries views and those views query pipelined functions, and those pipelined functions query other views or tables or pipelined functions etc.
    And what about a query that dynamically obtains the table names, such as...
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables
      9 where iot_type != 'IOT_OVERFLOW'
    10 or    iot_type is null;
    TABLE_NAME                      COUNT
    DEPT                                4
    EMP                                14
    BONUS                               0
    SALGRADE                            5
    .. in this case the tables being accessed (to count their rows) are not even known within the code, they are dynamically generated queries at run-time, so the only way to know what tables are accessed is to actually run the query.
    Of course, a well designed system, with proper documentation and version control would allow you to take any database object and know where and what is using it, and whether it's even being used.

  • How to get list of Reports used in iBots?

    Hi,
    What is the process to get list of all those reports used in iBots/Alerts.
    Is there any NQ table, which contains this information.
    Thanks,
    Sunil Jena

    Do you have usage tracking configured / enabled?
    From memory have a look in there - I am fairly sure you can see the difference between a 'normal' user use of a report and the i-Bot equivalent.
    And yes, you are correct there is also a table that holds the i-Bot data, in 10g it used to be nq_scheduler or something similar - not sure what it is now.
    regards,
    Robert.

  • How to get list of tables/users that are under audit

    Hello,
    For testing perpose I have set audit on many tables and users.
    Is there any view or table from which I get list of objects that are kept under audit?
    Noaudit All command for disabling all of them does not work properly. I have to exactly revert audit to stop.
    Means if I write audit insert on table1;
    Now for disabling this, if I write noaudit all then it dont works but If I write noaudit insert on table1 then it works.
    So I need a list on which objects I start audit.
    Or is there any other way to stop them?
    Regards,
    Bhavin M Mistry...

    Try
    DBA_STMT_AUDIT_OPTS
    DBA_PRIV_AUDIT_OPTS
    DBA_OBJ_AUDIT_OPTS
    SYS@etest> audit role;
    Audit succeeded.
    SYS@etest> SELECT * FROM DBA_STMT_AUDIT_OPTS;
    USER_NAME                      PROXY_NAME
    AUDIT_OPTION                             SUCCESS    FAILURE
    ROLE                                     BY ACCESS  BY ACCESS

  • How to get values in table using viewobject ?

    hi,iam using jdev 11.1.2.3.0
    my requirement as follows ..
    i have login form with  username and password and i was gave the option of forgot password.when ever the user clicks the forgot password link .i need to get the data from smtp configuration table(consists smtp port,smtp host,usermail,password) based on the usermail i need to get the data from the smtp table .
    when ever the user clicks forgot password it wil send the password to the respected email id given in the smtp tablem how tom achieve this requirement using view object ..............

    Hi,
    1. create VO and define Ciew Criteria to query rows based on a bind variable
    2. Go to Application Module and select VO, then press Edit button to associate View Criteria
    3. Build public method in Application Module Impl class to take user name as an input argument
    4. Expose this method on the AM client interface (also shown on the Java category of the AM editor)
    5. In the method, use this this.findViewObject("instance name"); to get a hold onto the VO
    6. Add the user name to the bind variable using the viewObject.getVariableManager()
    7. Execute VO
    8. get first row
    9. send mail
    10. Drag and drop method from the Data Control panel to your login page
    11. Use EL to reference the username provided by the user (managed bean reference?)
    This should be it
    Frank

  • How to get list of users using  IN OIM

    Experts,
    Is it possible to get the list of users who have logged into OIM in past (for example last six months)? as not all people in my organization uses OIM.
    Please suggest if OIM(version 9.1.02) has any such functionality or if it is possible to get it from OIM database.
    Thanks,
    S M

    OIM will not store last logon date & time. So this is not possible. If you have access manager integrated environment, then OID will have last logon date & time. in such environment, from OID, you can get these details.

  • How to get list of applied patches which applied using admrgpch

    How to get list of applied patches which applied using admrgpch

    You can't really get the individual patch IDs from a merged patch, unless you have the log file from the admrgpch run available.
    You can, however, get the list of bugs fixed by a merged patch, and those bug numbers sometimes, but not always, correspond to a patch ID. Keep in mind, though, that individual patches often contain entries for multiple bug numbers.
    Here's a query that I use to look at the contents of merged patches. It works best if the merged patches have been given unique names, instead of the default name 'merged' from admrgpch. If you run it and see that everything belongs to patch name 'merged,' you might want to change the selected column to ap.applied_patch_id instead of ap.patch_name.
    select ap.patch_name
    , ad.orig_patch_name
    , ad.driver_file_name
    , ad.merged_driver_flag
    , ad.merge_date
    , bug.bug_number
    , cp.patch_abstract
    from ad_applied_patches ap
    join ad_patch_drivers ad using (applied_patch_id)
    join ad_comprising_patches cp using (patch_driver_id)
    join ad_bugs bug using (bug_id)
    order by applied_patch_id;
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • How to get List of SharePoint Groups to which Current Users belongs using Javascript ?

    How to get List of SharePoint Groups to which Current Users belongs using JavaScript? Not JSOM

    Here is the code that worked for me:
    var userid= _spPageContextInfo.userId;
      var requestUri = _spPageContextInfo.webAbsoluteUrl + '/_api/web/CurrentUser/Groups?$select=Id,Title';
    alert(requestUri);
      var requestHeaders = { "accept" : "application/json;odata=verbose" };
      $.ajax({
        url : requestUri,
        contentType : "application/json;odata=verbose",
        headers : requestHeaders,
        success : onSuccess,
        error : onError
      function onSuccess(data, request){
    var s='';
     for (var i = 0; i < data.d.results.length; i++)
    s +=data.d.results[i].Title+'\n';
        alert(s);
      function onError(error) {
        alert("error");

  • How to get list of users who reset password using FIM portal

    How to get list of users who reset password using FIM portal
    -Thanks Rakesh Sawant

    Hi Rakesh,
    I think you are looking for something like this:
    Using Powershell to list all users that had completed
    a password reset within the last 30 days
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • List of tables used in Custom Forms

    Hi All,
    I am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
    Is there any way I can know the list of tables used in each form from backend.
    Or do I need to open each form and analyze the forms one by one?
    Thanks,
    Raj Kumar

    I am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
    Is there any way I can know the list of tables used in each form from backend.
    Or do I need to open each form and analyze the forms one by one?You cannot get the list from the backend.
    You have 3 options here.
    Option 1) Open each form using Forms Builder and get the list of objects
    Option 2) Use Record History and LAST_QUERY
    Option 3) Enable trace
    How To Determine Table and Column Name from a Field in a Form in 11i [ID 259722.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • How to get list of holidays in  year

    hi,
      how to get list of holidays for a calender year.
       if any body knows function modules please help me.
    thanks and regards
    sathish

    HOLIDAY_GET Provides a table of all the holidays based upon a Factory Calendar &/ Holiday Calendar.
    HOLIDAY_CHECK_AND_GET_INFO Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the
    date is a holiday by checking the parameter HOLIDAY_FOUND.
    Example: HOLIDAY_CHECK_AND_GET_INFO
    data: ld_date like scal-datum default sy-datum,
    lc_holiday_cal_id like scal-hcalid default 'CA',
    ltab_holiday_attributes like thol occurs 0 with header line,
    lc_holiday_found like scal-indicator.
    CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'
    EXPORTING
    date = ld_date
    holiday_calendar_id = lc_holiday_cal_id
    WITH_HOLIDAY_ATTRIBUTES = 'X'
    IMPORTING
    HOLIDAY_FOUND = lc_holiday_found
    tables
    holiday_attributes = ltab_holiday_attributes
    EXCEPTIONS
    CALENDAR_BUFFER_NOT_LOADABLE = 1
    DATE_AFTER_RANGE = 2
    DATE_BEFORE_RANGE = 3
    DATE_INVALID = 4
    HOLIDAY_CALENDAR_ID_MISSING = 5
    HOLIDAY_CALENDAR_NOT_FOUND = 6
    OTHERS = 7.
    if sy-subrc = 0 and
    lc_holiday_found = 'X'.
    write: / ld_date, 'is a holiday'.
    else.
    write: / ld_date, 'is not a holiday, or there was an error calling the function'.
    endif.

  • How to get list of software installed in a system

    How to get list of softwares installed in a system?. should i use registry to get information or control panel?
    is there any package available for this? how should i start with/
    thanks

    How to get list of softwares installed in a system?.Using native code, if at all.
    should i use registry to get information or control panel?Linux has neither.
    is there any package available for this? how should i start with/ Learn the Windows API or Google for some native tool.

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • Query to find out the list of tables used in a package

    hello,
    can anyone please help me out with a query; i want to find out the list of tables used by a particular package.
    thanks,
    orton

    orton607 wrote:
    thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
    thanks,
    ortonThis is not possible. The best you could do is to have a good guess.
    Or how would you parse some dynamic statement as this:
       v_suffix := 'loyees';
       v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
       execute_immediate(v_sql);
    ...What is the table name? How do you want to parse that?
    Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts.

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

Maybe you are looking for

  • What can i do about my pixel error?

    Hi, Some days ago (I think a week ago) my ipod touch 4G fell on the groud, or probably it was something i did, similar to that, and on the top bar of the screen, where the clock and the baterry are, appeared some gray dots (i think they are pixels th

  • Interesting --- java.lang.verifyerror

    does anyone know as to why this error would happen C:\EMS\classes>java com.calynet.client.service.JTGOTopology.Main2 Exception in thread "main" java.lang.VerifyError: (class: com/calynet/client/ser vice/JTGOTopology/Main2, method: init signature: ()V

  • Which jar file is required for jsp dynpro page programming ?

    Hi all:    I use NWDS wizard to create one small jsp dynpro page application. However the project has some errors, it said " This compilation unit indirectly references the missing type com.sapportals.htmlb.page.DynPage (typically some required class

  • Order of music in iTunes Library folder

    i have entered many albums, some of which have many tracks, some numbered and some named. when i go to the library these are listed alphabetically according to the first column, the name column. but i would like to see the library listed alphabetical

  • Best graphics card for Gigabit Ethernet?

    Hi, I wanna upgrade my Power Mac G4's AGP graphics card to the best one available so I can get Quartz Extreme, Core Image, and Core Animation (for when I upgrade to Leopard). What's the best card available for my Power Mac? Thanks