How to know a table is using in any packeges or procedures

Dear All
How can I know that a table is using in any packege or procedure or function ?
I mean , let say I have 10 Packages , 10 Procedures and 5 Functions .
I need to know in which Packages , Procedures or Functions are using the table EMP .
How can I search ? Is there any command or I need to open all the procedures and then search one by one ?

Hi everyone,
Did anyone interest in the topic search for dependencies between objects in the database?
I want to see the PL/SQL code which is an appeal to a particular procedure or function or package and where and how does an object use in any PL/SQL code.
Often do you have a need to get answers to these questions?
I say about an object usage presentation, not about its relations only.
Do you want to know, how opbject used?
If it's a table - what's DML?(insert/select/...)
If it used in a package - which procedure of package uses in?
The object usage in an external objects - Oracle*Forms/Reports,Flat/Word files, Informatica.
I'll want to know, if everybody interested to one.

Similar Messages

  • How to create a table to use in webdynpro ABAP

    Hi Guys,
    Can anybody let me know how to create a table to use in webdynpro ABAP. I am new to ABAP. It would appreciable if i get useful answer.  Thanks In Advance
    Regards
    Ravi

    Hi! You can use transaction code SE11.  Please refer to http://help.sap.com/saphelp_nw70/helpdata/en/6c/f2934259a5c66ae10000000a155106/frameset.htm
    Please note that table name should start with 'Y' or 'Z' - by SAP naming conventions object names starting with 'Y' and 'Z' are reserved for customer application development.
    Please reward points if helpful

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • How to get pivot table by using dates

    Hi,
    How to get pivot table by using dates in column.
    Below is the sample table and its value is given.
    create table sample1
    Order_DATE       DATE,
    order_CODE       NUMBER,
    Order_COUNT   NUMBER
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),1,232);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),2,935);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),3,43);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),4,5713);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),5,11346);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),1,368);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),2,1380);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),3,133);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),4,7109);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),5,14336);
    select * from sample1;So how to get the data like below.
              order_date
    order_code 30-sep-12 29-sep-12
    1 232 368
    2 935 1380
    3 43 133
    4 5713 7109
    5 11345 14336

    Using the extra data I inserted in my previous reply:select ORDER_CODE,
    SUM(DECODE(extract (month from ORDER_DATE),1,ORDER_COUNT,0)) JAN,
    SUM(DECODE(extract (month from ORDER_DATE),2,ORDER_COUNT,0)) FEB,
    SUM(DECODE(extract (month from ORDER_DATE),3,ORDER_COUNT,0)) MAR,
    SUM(DECODE(extract (month from ORDER_DATE),4,ORDER_COUNT,0)) APR,
    SUM(DECODE(extract (month from ORDER_DATE),5,ORDER_COUNT,0)) MAY,
    SUM(DECODE(extract (month from ORDER_DATE),6,ORDER_COUNT,0)) JUN,
    SUM(DECODE(extract (month from ORDER_DATE),7,ORDER_COUNT,0)) JUL,
    SUM(DECODE(extract (month from ORDER_DATE),8,ORDER_COUNT,0)) AUG,
    SUM(DECODE(extract (month from ORDER_DATE),9,ORDER_COUNT,0)) SEP,
    SUM(DECODE(extract (month from ORDER_DATE),10,ORDER_COUNT,0)) OCT,
    SUM(DECODE(extract (month from ORDER_DATE),11,ORDER_COUNT,0)) NOV,
    SUM(DECODE(extract (month from ORDER_DATE),12,ORDER_COUNT,0)) DEC
    from SAMPLE1
    where trunc(order_date, 'YY') = trunc(sysdate, 'YY')
    group by order_code
    order by order_code;
    ORDER_CODE JAN FEB MAR APR MAY JUN JUL AUG   SEP   OCT NOV DEC
             1   0   0   0   0   0   0   0   0   600   600   0   0
             2   0   0   0   0   0   0   0   0  2315  2315   0   0
             3   0   0   0   0   0   0   0   0   176   176   0   0
             4   0   0   0   0   0   0   0   0 12822 12822   0   0
             5   0   0   0   0   0   0   0   0 25682 25682   0   0Now a bit of explanation.
    1) Whenever you pivot rows to columns, no matter what version of Oracle and no matter what method you use, you have to decide in advance how many columns you are going to have and what the names of the columns are. This is a requirement of the SQL standard.
    2) I use the WHERE clause to get just the data for this year
    3) With EXTRACT, I get just the month without the year.
    4) Using DECODE, I put every month's data into the correct column
    5) Once I do all that, I can just GROUP BY order_code while SUMming all the data for each month.

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • Note:304522.1 How to Move Queue Tables without using export import

    Trying to use the pkg available in Metalink "Note:304522.1 How to Move Queue Tables without using export import"
    Using the 10.1.0.x and upwards Package, I'm getting the following error on a single consumer queue table with an xmltype payload:
    SQL> exec move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK');
    BEGIN move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK'); END;
    ERROR at line 1:
    ORA-20000: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.MOVE_AQT", line 652
    ORA-06512: at line 1
    We've tried in multiple environments, always with the same results.
    Trace file shows:
    *** 2006-11-08 10:06:47.154
    *** SERVICE NAME:(SYS$USERS) 2006-11-08 10:06:47.147
    *** SESSION ID:(379.954) 2006-11-08 10:06:47.147
    qtable move procedure starting execution at 08-11-2006 10:06:47 for queue table XFORM_TEST_INT.INTERFACE_XML_QUEUE
    qtable move procedure experienced an exception at 08-11-2006 10:06:47
    qtable move error message ORA-06502: PL/SQL: numeric or value error
    qtable move procedure ended execution at 08-11-2006 10:06:47
    Can anyone help with this? Has anyone used this before successfully (or not successfully). We urgently need this working today to test moving our queue table into a tablespace with a smaller block size for performance reasons in production.
    Thanks for the help!
    Tony

    Thank you,
    Yes we've done that. They've confirmed a problem with the links/scripts on the note. The 10.1 and up version was not really 10.1 and up.
    As they would not have a new version available in time for the move we needed to perform, we switched our approach to using dbms_redefinition instead.
    Thanks for the reply,
    Tony

  • How to know the tables for a datasource like 2lis_17_order

    Hi,
    How to know the tables for a data source like 2lis_17_order, i have checked in Extract structure of that data source, only fields are visible but how will i know that these fields are getting extracted from so and so tables?
    pls respond. thanks in advance

    Hi,
    Go to RSO2 at source system, Enter data source and click on display.
    if its table based then you can see table name there it self.
    if its view based then notedown the view name and go to  SE11, provide view and click on display. see joined table names there.
    Thanks

  • How to know what CBO programs uses transaction codes

    Hello Everyone,
    How to know what CBO programs uses transaction codes?
    Thanks for the help!

    Hi,
    Please clarify your question ....
    for e.g. give program name

  • How to know the table name of an InfoCub if we know cube technical name?

    How to know the table name of an ODS if we know the ODS technical name?
    Thanks
    Message was edited by: Kevin Smith

    hi kevin
    if the ODS is a standard ODS then you check the following way in SE16
    (for custom ODS objects)
    /BIC/A<ODS technical name>00 (Active Data Table)
    /BIC/A<ODS technical name>40  (Activation Queue)
    /BIC/B<10 digit number> (Change Log Table)
    (for SAP defined ODS Objects)
    /BI0/A<ODS technical name>00 (Active Data Table)
    /BI0/A<ODS technical name>40  (Activation Queue)
    /BI0/B<10 digit number> (Change Log Table)
    and for Transactional ODS Object you will have only the active data Table. So you need to check with /BIC/A<ODS technical name>00 for the custom ODS objects and /BI0/A<ODS technical name>00 for SAP defined ODS objects.
    hope this helps.
    regards
    vijaykumar

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • How to know the tables used in a program?

    Hi,
    Please tell me, how to know all the tables that have been used in a program?

    Hello Vijay
    Have you had a look at fm RS_PROGRAM_TABLES already?
    See also tables from prog
    Regards
      Uwe

  • How to know which table has got referencial integrity constraint

    Dear All,
    How can i know which table has got referencial integrity constraint on which table ?
    Ex : Department id column is a primary key in departments table whereas it is a foreign key in employees table. From where can i find the info regarding the relation between employees and departments table ?
    Waiting for your reply.
    Regards,
    Shyam

    you can use dba_constraints or all_constraints to help.
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/statviews_1037.htm
    Example:
    select owner, CONSTRAINT_NAME,CONSTRAINT_TYPE,TABLE_NAME from dba_constraints where R_OWNER=':A' and R_CONSTRAINT_NAME=':B'
    A = owner of primary key
    B = constraint name (primary key name)

  • How to know a table's column name and its types

    if there has one table called "myEmp" stored in my database, it uses to hold employees' information. when a newcomer is hired, the HR will use a register page to register his/her information. for the flexible purpose, i couldn't know how many columns in this table, since it may be added two columns or deleted one column in one day, all i should do is show all fields in the register page and get all data to insert into this table.
    so, how can i know one table's structure in java? i know there has a method in DatabaseMetadata class: getTables(catalog, schema, tablename, tabletype), it's return is resultset . i wrote a code below:
    DatabaseMetaData md = conn.getMetaData();
    ResultSet md.getTables(null, null, tablename, types);
    i set catalog and schema both are null since i don't know what else can i set?
    the ResultSet doesn't contain the information i want.
    is there anyone can tell me where i am wrong and the right method? thanx a lot!
    sincerely
    Jasmine

    use ResultSetMetaData to get Column names

  • How to check which table is using my table

    Hi,
    I have a table say Temp_Rd.
    How do I check which table is using my table Temp_Rd??
    Which table is using my Temp_Rd as the dependencies in the sql database?
    Thank you very much.

    Oops, pardon me for asking the questions unclearly.
    Its like some table Foreign Key is references to my this table Temp_Rd.
    Eg,
    CONSTRAINT "FK_SomeTable" FOREIGN KEY ("ID")
         REFERENCES "Temp_Rd" ("ID")
    How do I know which are the some table?
    I hope I explain it better this time.
    Sorrie about it.

  • How to know which table affected at server side application.

    Hello all,
    I am new to sql developer and I am accessing oracle database 11g of some xyz company and there application from other machine.
    I want to know that is it possible to monitor there application, that on saving/retrieving data which tables are used and what sql statements that forms(in application) are using.
    If it is possible then please tell me how ?
    I have used Sql monitor Toad to trace such statements on the same machine.
    But I cant use toad, all I have sql developer.
    Thanks

    [sorry, deleted irrelevant wrong answer]

Maybe you are looking for

  • Inspire P580 Connecting to Laptop?

    I recently got a new laptop and have moved, so I had to sell my PC. I wanted to keep my P580 speakers, so I brought them in an put them next to my laptop. I took one look and saw a problem. My laptop has input jack thing (The place where you would pl

  • How to write Decode ?

    Hi All, please tell me how to write below statement in using decode statement in a single query. if A1 IS NULL and A2 IS NOT NULL then C := 'NA'; elsifF A1 IS NULL AND A2 IS NULL then C:='Success'; end if; Regards, Subir

  • DTW Template for Segmented COA

    Hi All I want to know that, Is it possible to import Segmented COA data including Active and title Account. When I am trying I am able to import only titles, this is because I can make title account without segment. But in case of  Active acoount, th

  • Order data

    Hi all, Is there anyway when you create an order it should save that order in xl file in pc or appln server. If possible please tell me how to do it. with regards chandu.

  • No autofill option showing for 4th gen IPod on Itunes

    When loading 4 gen shuffle (v 1.0.2) from music library on Itunes 12.0.1.26, the "settings" and "autofill" buttons do not show up on the On My Device>Music page. I want to be able to have it autofilled randomly from my music library. Oddly, it loads