Finding tables used in all the procedure.

Hi,
We have around 2000 procedures in our oracle 9i database.
I want to know which procedures are calling few of the tables eg: emp or dept.
Is there any way I can findout or Is there any tool.
Regards
MMU

Make a list of all the packages and procedures and then make a sql file with the following procedure to check their definitions
dbms_metadata.get_ddl
Spool the output in one file and grep for hints. Keep teh track of which packages you want to modify and then modify them.
Hope this Helps
Regards

Similar Messages

  • How to find a cloumn or table used in all the reports

    Hi ,
    Suppose I have like 15 to 20 reports and i want search a particular column or table where it has been used in all the reports.Is there any easy way ?
    Thanks,

    Well "used in reports" can mean different things. Column used for display or columns used for filtering for example.
    For a filter column you could literally search for
    MyTable."Sales Rep"Whereas for a display column you'd need to search for
    MyTable.&quot ;Sales Rep&quot ; (without the blank space after quot
    That's simply due to how stuff gets stored in the webcat:
    <saw:column formula="MyTable.&quot;Sales Rep&quot;" columnID="c3">PS: How can you correctly escape the string &quot so it doesn't become " in here?

  • Finding tables used for all modules t code

    hi Gurus
    I just come accross to one answer that enter T.Code se49 & in that screen enter the T.Codes you want to see teh tables used for that t code.
    But when i enter t code se49 the system says it does not exists.
    Does it have any varsion problem ? I m working on ECC 6.0
    Please let me know if any t code is there for the same.
    Thanking u
    Santosh Rothe

    Hi
    i dont think there is a tcode se49, and what exactly are you trying to see here to view tables we have SE12 and SE16
    go and put the tables in and it will dispaly...
    here is the link which gives you an idea of tables in SAP
    http://www.erpgenie.com/abap/tables.htm
    hope this helps you
    if it helps you, please do assign points
    regards
    Jay

  • Find all tables used in a stored procedure

    Hi,
    I have a requirement where i have to find all the tables used in a stored procedures from different  databases.
    Ex: i have a stored procedure where i use few tables from MASTER database and some from STAGE database.When i have written a query to find all tables used in the stored procedure, i am getting only those database table where i run the query and procedure
    exists.
    I have stored procedure SP1 in Master database, but i use the tables from both master and stage.
    When i run this, i am getting the tables only from Master database but not from stage. i hope my requirement is clear.
    I am trying to find all the tables from all databases used by a stored proc.
    ;WITH stored_procedures AS (
    SELECT 
    o.name AS proc_name, oo.name AS table_name,
    ROW_NUMBER() OVER(partition by o.name,oo.name ORDER BY o.name,oo.name) AS row
    FROM sysdepends d 
    INNER JOIN sysobjects o ON o.id=d.id
    INNER JOIN sysobjects oo ON oo.id=d.depid
    WHERE o.xtype = 'P')
    SELECT proc_name, table_name FROM stored_procedures
    WHERE row = 1
    ORDER BY proc_name
    Please advice

    Your question is not entirely clear. You need to run the query on different databases.
    You may find this blog post helpful
    How to get information about all databases without a loop
    Check the last script in that blog post and modify to your particular purpose.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How to find the columns and tables used in a stored procedure?

    Hi,
    Can someone suggest how to find the columns and tables used within a stored procedure?
    Thanks
    VBK

    For example:
    SQL> create or replace
      2    procedure p1
      3      is
      4          cnt number;
      5      begin
      6          select count(*) into cnt from emp;
      7  end;
      8  /
    Procedure created.
    SQL> select  referenced_owner,
      2          referenced_name
      3    from  dba_dependencies
      4    where owner = 'SCOTT'
      5      and name = 'P1'
      6      and referenced_type = 'TABLE'
      7  /
    REFERENCED_OWNER               REFERENCED_NAME
    SCOTT                          EMP
    SQL> SY.

  • Where can i find the magnetic lasso tool in adobe photoshop touch? i used it all the time before but suddenly cant find it please help

    i started my photoshop touch after some while and now i cant find the magnetic lasso tool it used to be there i used it all the time for editting but now i cant find it maybe i disabled it somehow. can anyone tell how to enable it again?

    I honestly don't remember a magnetic lasso tool. (I've been using PS Touch since version 1.0.) The closest things I can think of are the Quick Selection Tool, the Scribble Selection Tool and the Magic Wand Tool, all located under the same set of tools (3rd set from the top in the tool panel).

  • Where can I find a guide to all the options and settings available via the "about:" pseudo-URL? (Using FF 3.6.8)

    When I last used Firefox support, several years ago, I saw mention of a long list of options and settings available, using a kind of local URL, beginning with "about:". I can't find it now. The text "forums" that I saw then seem to have disappeared and been replaced by support for dummies who might be frightened if they saw a page containing more than just a tiny amount of information.
    The question is: where can I find this guide, listing all the available options and settings so that I can make my own decisions?

    I must have forgotten; it wasn't exactly FF support, but Mozillazine. '''Thank you for the pointer'''. The "long list" I was thinking of was in fact about:config, which is pointed to by that page.
    Given all that, I think it should be easier to find Mozillazine from the FireFox support pages.

  • TS1463 What is the easiest way to restore my ipod back to factory specs. It has a red circle with a red x in the middle,please help me to fix my ipod, until now i can't use my ipod..i tried all the procedures in Restore ipod from disk mode but still not w

    What is the easiest way to restore my ipod back to factory specs. It has a red circle with a red x in the middle,please help me to fix my ipod, until now i can't use my ipod..i tried all the procedures in Restore ipod from disk mode but still not working, please help me...

    If you are unable to get the iPod into Disk Mode to try and restore it, it's a very good indication, as mentioned in the article, that the iPod's hard drive is damaged and in need of replacement either by Apple or a third party repair company.
    B-rock

  • My iPhone 4 cellphone was stolen last year. I have done all the procedures of reporting it to the South African Police Services and my Vodacom service provider. I do have the case number and I did blacklist my stolen phone. I have not had any assistance.

    My iPhone 4 cellphone was stolen last year. I have done all the procedures of reporting it to the South African Police Services and my Vodacom service provider. I do have the case number and I did blacklist my stolen phone. I have not had any assistance. I had installed Find My iPhone but did not have any iCloud account on it (ie. iCloud Username and Password). So I am unable to track it or find its location as yet. Please help me find my iPhone 4.

    Your only chance is setting it up as new device without using the latest backup afterwards, which you already did.
    If this does not work, you should get it serviced:
    Apple - Support - Service Answer Center
    How to back up your data and set up as a new device

  • I like to know the table name where all the Interface name ( Data Type and

    Dear Friends,
    I like to know the table name where all the Interface name ( Data Type and Message Type in IR ) is stored.
    Thanks.

    Hi,
    Please find the repository API’s in the SE24 class builder that can be used for accessing repository objects from the ABAP stack of SAP XI. Check CL_SRAPI* in the SE24 transactions for digging further.
    location of interface objects
    CL_SRAPI_DATA_TYPE---data type
    CL_SRAPI_DATA_TYPE_ENH---data type enhancement
    CL_SRAPI_FAULT_MESSAEG_TYPE--fault message type
    CL_SRAPI_MESSAGE_TYPE--message type
    CL_SRAPI_INTEGRATION_SCENARIO--integration scenario
    have a look at the table SXMSPMAST, SXMSCLUP & SXMSCLUR
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fbe7b8e-0a01-0010-b69b-b7e717378f22#search=%22SXMSPMAST%20%2B%20XI%22
    That document has references to lot of tables maybe it can be of use to u.
    Look at the below thread for SXMB_MONI tables and Function module:
    In Which Database Table the Messages are Stored in XI
    Message Monitoring  --> corresponding tables?
    Edited by: Dharamveer Gaur on Oct 8, 2008 10:40 AM

  • Name of the table which stores all the cubes

    hi all,
    can any one of you give me the name of the table which stores all the names of the cubes which are been using in the system.
    and please give me the way of finding it also.

    hi Antony,
    the table is RSDCUBE, and RSDCUBET is the text table
    also check related tables RSDCUBE*,
    you can open 2 sessions, one run ST05 and activate sql trace,
    another session right click infocube and 'change' or display,
    then go back to ST05 session, and deactivate trace, and display trace
    a list of tables will come out.
    hope this helps.

  • Won't display my gadgets - explorer does - so not gadgets - what gives - use to all the time - not anymore - how do I get them back

    All of a sudden my gadgets don't display in my igoogle home page. Use to all the time and they will if I use internet explorer it just happens with mozilla firefox.
    How do I get them to display properly they just are listed on the left hand side of the screen.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    Pending the update by Symantec, if you want to use the Norton add-ons you will need to downgrade to Firefox 3.6.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • Join 3 tables using FOR ALL ENTRIES

    Hi,
    I want to join 3 tables and show their result in a text file delimited by comma.
    ITs a download program.Can someone tell me how to how to join the three table using for all entires instead of inner join.please give step  by step illustration

    Hi,
    Please check below code which downloads records from 3 tables into excel file.
    if you want other file means you can specify other file type in the fm parameter
    REPORT zstemp_qty2_  LINE-SIZE 255 .
    DATA:it_vbak LIKE vbak OCCURS 0 WITH HEADER LINE.
    DATA:v_file1 LIKE rlgrap-filename.
    DATA:v_file2(80) TYPE c.
    DATA:it_vbap LIKE vbap OCCURS 0 WITH HEADER LINE.
    DATA:it_mara LIKE mara OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT * FROM vbak INTO TABLE it_vbak UP TO 100 ROWS.
      IF NOT it_vbak[] IS INITIAL.
        SELECT * FROM vbap INTO TABLE it_vbap
        FOR ALL ENTRIES IN it_vbak
        WHERE vbeln = it_vbak-vbeln.
      ENDIF.
      LOOP AT it_vbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  input  = it_vbap-matnr
             IMPORTING
                  output = it_vbap-matnr.
        MODIFY it_vbap TRANSPORTING matnr.CLEAR it_vbap.
      ENDLOOP.
      IF NOT it_vbap[] IS INITIAL.
        SELECT * FROM mara INTO TABLE it_mara
        FOR ALL ENTRIES IN it_vbap
        WHERE matnr = it_vbap-matnr.
      ENDIF.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name        = sy-cprog
         dynpro_number       = sy-dynnr
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = v_file1          .
      v_file2 = v_file1.
      CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
         filename                      = v_file2
         filetype                      = 'WK1'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
         col_select                    = '1'
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
        TABLES
          data_tab                      = it_mara
      FIELDNAMES                    =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      OTHERS                        = 10
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_mara.
        WRITE:/ it_mara-matnr.
      ENDLOOP.
    Regds
    Sivaparvathi
    Please reward points if helpful.....

  • Excute priviledge on all the procedures under a schema to a role

    Hi ,
    I am using oracle 10g and Windows server 2003 , I have a user named towner .
    I need to give excute priviledge on all the procedures under this towner schema to a role named kgroup .
    Can someone share a query for this , ty .

    You can try something like this (not tested):
    BEGIN
            FOR r IN
                    SELECT procedure_name
                    FROM   user_procedures
            LOOP
                    EXECUTE IMMEDIATE 'GRANT EXECUTE ON ' || r.procedure_name || ' TO kgroup';
            END LOOP;
    END;
    /Hope this helps!

Maybe you are looking for

  • I would like to transfer my iMovie video from my Mac to a DVD.  Can this be done?

    I'm quite new to "iMovie", but  I have some video of an event I shot for a friend.  I'd like to send her a DVD of the "raw" footage now that I've dumped it off the camera to iMovie.  Is do-able?  How? carloncam

  • TS4036 where does icloud store my mac osx recovery key?

    where does icloud store my mac osx recovery key for file vault?

  • EKPO-ELIKZ Delivery Completion

    Hello Gurus, Happy Sankranthi to you all... I have a problem wherein i have to set the delivery completion in Delivery tab of item details for a list of purchase orders with specific error message. I can acheive the above using a BDC but beforehand i

  • Set timeout in webservice client

    Hi, I have a java stand alone web service client using Weblogic webserviceclient+ssl.jar, how can I setup the web service timeout? when I get the service object, there is no a method like setTimeout I can call to set time out. even in ((javax.xml.rpc

  • Time Constraint assignement to Subtypes of an infotype.

    Hello All, Where do we maintain Time constraint assignment to subtypes of an infotype. I am looking to subtypes of IT 0210 ( Tax With holding ) " where do we create the subtypes and their characteristics for this infotype in IMG? I tried in view V_T5