help to find a reference to a table

Hello


My verion of oracle: oracle 10G

If I pull a query something like:

Select * from user_source, where the text as 'CLASSIFICATION %.

He will return me lines and helping me refine my search on a simple 100 lines to find a reference to a table called "WC_CLASSIFICATION_D" and tells me to say what all the packages have a reference for this table. But the thing is its letting me know for a particular user, now lets say if I have about 20 users in my database, with each single user written some packages containing the reference to the same table, how do I know which.

PS: I hope I'm clear with my question, I'll have a feeling, is that there will be a table tht can contain the username for the entire database... Help, please

Concerning
Rahul

Better yet, DBA_SOURCE (if you have access).

USER_SOURCE contains the source for all objects in PL/SQL, owned by the current user.
ALL_SOURCE contains the source for all PL/SQL objects for which the current user has at least some privileges. (Well, there's a requriement of privilege so that it can be seen here, it may be more subtle than my statement of 'at least some privileges'.)
DBA_SOURCE contains the source for all PL/SQL objects in the database.

This convention of naming/privilege is used for most of the SYS catalog views (USER_TABLES, USER_OBJECTS, etc..)
Each user has access to views USER_ and ALL_ views, but different users may see different content. DBA_ views are generally not public; you have need of a privilege for example SELECT ANY DICTIONARY to see.

Furthermore, USER_SOURCE doesn't have the source view or materialized views. Use USER_VIEWS and USER_MVIEWS if those you need.

Tags: Database

Similar Questions

  • Is there a good way to find all references to a table or a column?

    I have recently inherited an application large apex and receive requests to make changes.  I would like to ensure that any changes that I could do on a table or a column in a table affect application pages which I think are involved.  However, demand is high, and I'm assuming that it is possible for other pages may refer to the same column or table, and I was not aware of these references (at least until after he breaks once I have change the column or table).

    My question is this: is there an integrated report, or a way to query apex, who will tell me ALL references to an application to a particular table or column?  This way I could fix all pages in the application, rather than waiting to break.

    Thank you!

    John

    John,

    Look to the upper right while in the Application Builder, for the area of the search Application .  Enter any string you want and APEX will search to find and view a report that contains a link.  Click the link and APEX will show the page and control chain concerned.

    Here's another way; query the table APEX seen through this code:

    SELECT workspace,
           workspace_display_name,
           application_id,
           application_name,
           page_id,
           page_name,
           region,
           item_name,
           display_as,
           display_sequence,
           item_label,
           db_column_name,
           db_table_name,
           help_text,
           item_id
      FROM apex_application_page_db_items
    WHERE     workspace = :workspace
           AND db_table_name = :table_name
           AND db_column_name = :column_name
    

    Jeff

    Post edited by: jwellsnh

  • Could not find a reference guide in order for the Visual Studio plug-n

    I've worked with this for about 3 days.  I have a web application I'm trying to put at the disposal with a widget with the latest beta of Visual Studio plug-ins.

    I don't know what functions/objects and syntax that is available for me in this plug-in.

    I worked the samples... I have this installed in a 32-bit windows 7.  I know that windows 7 is not yet supported, but it seems to work.  I was able to get the sample applications for work.  I can run pages of my .net website with browser Simulator 9700 very well.

    IntelliSense does not work for me in JavaScript... So I can't choose right around with an object browser to see what blackberry objects/functions are available within Visual Studio 8.  I tried to reinstall, and that he will show me that there is a syntax error there is no ability to search or auto complete objects as in c#.

    I looked and looked and I can't find a reference to command or something like that.  For example.  I created the menu items in my widget by using the 'new blackberry.ui.menu.MenuItem' variables and can call a function actions.js to print an alert, but it's only because I could find for this syntax in the examples.  I would call the pages of my web site from the menu items, but I can't understand this.  I have a simple link which can make a web page for me, but I don't know the syntax to make HTML calls of in the plugin since the black berry for example menu items.

    Is there a kind of complete command reference that can show me all the functions and syntax in the library of blackberry.io for example?

    Thanks in advance

    Scott

    Hi Scott,.

    In our first review of the plug-in, we do not support Intellisense.  It's on the right track, but it won't in version 2.0.  It will be a version of follow-up.

    The complete API reference can be found through a hypertext link on the Start Page that appears when you start everything first to create a BlackBerry Widget project.  It is on the right side of this page.  The hyperlink to access the following URL:

    http://www.BlackBerry.com/developers/docs/widgetapi/

    There is also a link to the documentation of complete widget including the reference of the JavaScript API on the same page where the samples, tutorials and labs are.

    www.BlackBerry.com/developers/widget

    The URL for the documentation complete widget can be found here:

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+widgets&Subc...

    These links should help you get started.

    See you soon

  • BlackBerry Smartphones Runtime error "Cannot find system in the file table.

    I need help!

    I have a Blackberry Curve 8310 and have recently installed Version 4.5

    I'm trying to set my synchronization.  I followed the steps to set up my Outlook 2007 calendar.  He told me congratulations! You have configured the product. However, when I press Finish, I get a runtime error "cannot find system in the file table.

    I uninstalled the program and reinstalled - the same error.

    Any help would be appreciated!

    FIGURED IT OUT!

    The following steps, which are displayed on the RIM support will work; However, I had to do it another way.  In step 1, it says that ilxolkCompanion.fil is located in the path C:\Program Research In Motion\BlackBerry\Connectors\MS Outlook Connector... However, when I searched this file, it was actually located in C:\Program Files\Blackberry\Connectors\MS Outlook Connector.  (Maybe it's because I upgraded from 4.2.2 to 4.5 w/o filling a clean uninstall... not too sure why)

    Once I located the file via the command prompt, I have not recorded in accordance with the instructions of step 1.  I then followed step 2 exactly Word for Word... and VOILA!  I have now Version 4.5, working with MS Outlook 2007

    Resolution

    If the connectors folder is always present in C\Program Research In Motion\BlackBerry\Connectors\MS Outlook Connector, follow these steps:

    1. Unregister the old of the Microsoft Outlook ilxolkCompanion.filconnector.

      1. Open the command prompt.
      2. Navigate to C:\Program research in Motion\BlackBerry\Connectors\MS Outlook Connector.
      3. Type command regsvr32 u ilxolkCompanion.fil.
      4. In Desktop Manager, Microsoft Outlook is no longer appears as an available desktop application.
    2. Save the latest Microsoft Outlook Connector.
      1. Navigate to C:\Program research in Motion\BlackBerry\IS71 Connectors\MS Outlook Connector.
      2. Type the command regsvr32 msoutlookconnector.fil.
      3. Office Manager, Microsoft Outlook will be now stored as an available desktop application.

    Once these steps have been completed, configure synchronization again.

  • Where can I find a reference guide for the Adobe character animation?

    I use Adobe recently - character animation (amazing stuff)

    There are so many different options during the creation of the characters. i.e. flashing or having the host track your eyelids so half, you can close your eyes, etc...

    One thing that I can't find a reference to these options anywhere.

    that is how to set up your .psd file to make it work. So far I am using other characters as a model, then creating my character inside the psd.

    Its running OK but there are features that I discover even exist as the eyelids half-closed until I opened a character for example.

    There are references?

    Help documents host character

  • How to find the interface using the table name target

    Hi friends,

    Whether it's with the help of the name of the target table, it is possible to find the name of the interface that invokes this target in ODI 11.1.1.7 table.

    Thanks in advance.

    Kind regards

    Saro

    Highlight the data in the browser store, expand its sub-tree, there is a node "filled in", under the node, it lists all the data stores that are used as sources for the current data store

    then expand "used by"-> interfaces, it will display all interfaces include the current data store (but maybe the current data store is used as a source)

    That's all you can get user interface, otherwise I guess you can use the SDK.

  • How to find the size of the table?

    Hi all

    Can anyone suggest how to find the size of the table? I had a few (15272 selected lines) on the name of "CMPT_" How can I check only 'CMPT_' size tables?





    Please someone help give the SQL query to run.


    Thanks in advance.


    Vincent

    madala03 wrote:

    Hi thanks for the reply

    I'm out like below

    SUM(BYTES/1024/1024)

    --------------------

    25383.25

    But how to check all the name of tables CMPT and their sizes?

    Select nom_segment, dba_Segments sum(bytes/1024/1024) where nom_segment like ' % CMPT GROUP BY nom_segment;

  • Help me find the motherboard for T61 6459CTO

    I would be grateful if anyone can help me find the FRU or reference for my laptop T61 6459CTO S/L xxxxxxx. My laptop is dead now and need a mother replacement on board. Please also provide you with the best suggestions to find the online store for the system board. I googled the part here but unable to find it. Thanks in advance.

    Note of the moderator; s/n, under the direction of protection own members

    Hi kreddy79,

    Planar's card system in terms of lenovo. Your motherboard FRU is 44 3928.

    I hope this helps.

  • How do to find duplicate records in a table, then delete them.

    Hi all

    I'm working on a database of GR 11, 2 under linux. Recently, we have created a unique index on two inplace of columns in a single-column index. When we try to create this index in pre-production and prod to get an error message saying that the "double values found. Now my team asked me to write a pl/sql package or procedure to find these duplicate values and remove it or any other way to do it for them as well. But I'm not familiar with stuff of PL/SQL or data level how to perform this task.
    Please help me on this issue, how can I proceed.
    Thanks in advance for your help.

    Try this:

    
    CREATE TABLE z_test2
    AS
       SELECT 1 a, 'aaa' b FROM DUAL
       UNION ALL
       SELECT 1 a, 'aaa' b FROM DUAL
       UNION ALL
       SELECT 1 a, 'bbbb' b FROM DUAL
       UNION ALL
       SELECT 12 a, 'aaa' b FROM DUAL
       UNION ALL
       SELECT 12 a, 'aaa' b FROM DUAL
       UNION ALL
       SELECT 12 a, 'aaa' b FROM DUAL
       UNION ALL
       SELECT 13 a, 'aaa' b FROM DUAL;
    
    DELETE FROM z_test2 x
          WHERE EXISTS
                   (SELECT '*'
                      FROM (SELECT a,
                                   b,
                                   ROW_NUMBER ()
                                      OVER (PARTITION BY a, b ORDER BY a)
                                      rn
                              FROM z_test2) y
                     WHERE x.a = y.a AND x.b = y.b AND rn > 1);
    
                     
    
  • Need help to find bosses and leaders out there

    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thanks in advance,
    Girish G

    Hi, Girish,

    Girish G wrote:
    Hi all

    I need help to find patterns, but also the number of occurrences of these models in the data in the column of the table.

    Consider the examples of data - column of a row in a table:

    'S-S-S-P-S-B-S-S-C-S-P '.

    My requirement is:

    I should get all the models that are followed is "."

    Do you mean "I should get all the models who * begin by * of '?

    For example, the foregoing, given given bosses and Auditors are
    SS - count is 3
    SP - count is 2
    SB - 1 is
    SS - count is 1

    Why are there two production lines for "SS"? The other, with count = 1, mean doing just that?

    There is a condition most the above requirement:

    If' is followed by 'A', then 'SA' is not as a model. The model must stretch until a character no 'A' is found.

    Consider the sample data for the above case:

    'S-S-A-S-S-A-A-C-S-P-S-A '.

    previously given given bosses and Auditors are
    SS - count is 2
    SP - count is 1
    SAS - count is 1
    SAAC - count is 1

    The column data is stored as type VARCHAR2.

    I have Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production

    Thank you; version information are very useful.

    Thanks in advance,
    Girish G

    Whenever you have a question, please post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data.
    For example, the sample data may be:

    CREATE TABLE     table_x
    (       x_id     NUMBER     PRIMARY KEY
    ,     txt     VARCHAR2 (30)
    );
    
    INSERT INTO table_x (x_id, txt) VALUES (1, 'S-S-S-P-S-B-S-S-C-S-P');
    INSERT INTO table_x (x_id, txt) VALUES (2, 'S-S-A-S-S-A-A-C-S-P-S-A');
    

    and the results desired from these data can be:

    X_ID TXT                       PATTERN                          CNT
    ---- ------------------------- ------------------------- ----------
       1 S-S-S-P-S-B-S-S-C-S-P     SB                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SC                                 1
       1 S-S-S-P-S-B-S-S-C-S-P     SP                                 2
       1 S-S-S-P-S-B-S-S-C-S-P     SS                                 3
    
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAAC                               1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SAS                                1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SP                                 1
       2 S-S-A-S-S-A-A-C-S-P-S-A   SS                                 2
    

    (Which is what you have posted, except that there is only one line of output for "SS" when x_id = 1.)

    One way to achieve these results in Oracle 11 is:

    WITH   got_s_cnt    AS
    (
         SELECT     x_id, txt
         ,     REGEXP_COUNT (txt, 'S')     AS s_cnt
         FROM     table_x
    )
    ,     cntr          AS
    (
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= (
                                   SELECT  MAX (s_cnt)
                             FROM    got_s_cnt
                               )
    )
    ,     got_pattern     AS
    (
         SELECT     s.x_id
         ,     s.txt
         ,     c.n
         ,     REGEXP_SUBSTR ( REPLACE ( SUBSTR ( txt
                                                 , INSTR (s.txt, 'S', 1, c.n)
                                    )
                             , '-'
                             )
                         , 'SA*[^A]'
                            )       AS pattern
         FROM    got_s_cnt  s
         JOIN     cntr        c  ON  c.n  <= s.s_cnt
    )
    SELECT       x_id
    ,       txt
    ,       pattern
    ,       COUNT (*)     AS cnt
    FROM       got_pattern
    WHERE       pattern     IS NOT NULL
    GROUP BY  x_id
    ,            txt
    ,       pattern
    ORDER BY  x_id
    ,            pattern
    ;
    

    At the heart of this query is the call to REGEXP_SUBSTR:

    REGEXP_SUBSTR ( x
               , 'SA*[^A]'
               )
    

    who is looking:
    S = the letter S
    A * = the letter A, 0 or more times
    [^ A] = nothing, except the letter A

  • I bought the iphone 6 s more time face in Saudi Arabia. I need to check if the original phone to apple or duplicated. So please help me find this problem.

    I bought the iphone 6 s more time face in Saudi Arabia. I need to check if the original phone to apple or duplicate. So please help me find this problem.

    Hey there, I guess your question is "how to determine if my iphone is true or false. If Yes, then if you go here https://selfsolve.apple.com/agreementWarrantyDynamic.do just enter your serial number and code and if his 'real', then it will show you the model of the Iphone and guaranteed dates. If this isn't the case, then you know the rest. If this is not the case then try to download apps from the app store and run or can it connect to itunes. Tell me what best worked: D - Jon

  • Help to find my stolen iPhone more than 6 s

    Help, please!

    I bought the iPhone 6 s more last month. I am new for ios. While I did not turn on find my iPhone on my mobile. Now it is has been stolen by someone.

    Please please please help me find my phone.

    I have an IMEI: 353288074718846

    Can you please let me know if it is possible to change my mobile IMEI number of thief?

    I have raised a case with the police. But they are not considered priority.

    If it is possible to turn on find my iphone via webpage (iCloud or Apple ID)?

    So please help me to trace my mobile

    I'm waiting for your good answer.

    If you have not enabled find my iPhone before losing the device, you can not activate it remotely.  You will not be able to track the device.  I recommend that you change any account information you have can have on the device (credit cards, passwords, email, etc.) unless you're confident, you had a strong password on the device.

  • Help me find find my iphone feature

    Help me find function find my iphone from apple id

    Sirial: F4 * 5Y5

    Don't post personal information on public forums. Please clarify the question? Your Apple locked or disabled ID?

    If your identifier Apple is locked - Apple supports

  • How to determine the strict reference to the table of waveform

    Hello

    I want to change the properties of a waveform by programming. I used to get all references maps of waveform a function of range in my script VI VI. Then I typecasted references to more specific class (strict-single track) after this trial I was able set properties such as data history. Everything works fine but if I add a graphic that is multiplot, that this approach does not work.

    The problem is that in the table of references, there is reference to a graph in multiplot waveform, and this reference is not possible typcast to the more specific category (strict-single parcel).

    My question is: how to determine if the reference in the table is matching the proper waveform (single or multiplot) charts.

    In the VI attached is a code that demonstrates my problem.

    Thanks a lot for the replies

    Jan

    Thank you for advice. VI point 2 from your answer, I created and it works. The solution is attached.

    If I understand it correctly. I need to know the type of chart to come.

    My first idea was to create a VI in Drop that initializes all the graphics of VI on chart type independently.

    But this solution is fine because I will only use graphics-single plot and multiplot(two elements).

    Thank you

    Jan

  • Please help me find my sound

    I followed the steps suggested all and realized the automatic of my computer is not installed plus. and the location cannot be found. Please help me find my sound

    Most often when a device does not work, it is because the driver is damaged.  Re-install a new copy should help

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly? SignedIn = 1

Maybe you are looking for

  • Tecra M5 - will not be in hibernation or standby to standard Select-Bay drive inserted

    My Tecra M5 passes not in standby or sleep mode when it is selected in the menu start/stop. This is only a problem when the standard Toshiba CD player is inserted in select Bay. Once removed, it will be put into hibernation. Certainly this isn't some

  • HP Envy J049TX: Beats Audio Control Panel is not start/work

    My Beats Audio Control Panel does not work. When I Open Beats Audio, a dialog box appears indicating that "IDT Audio from PC has stopped working" I have recently upgraded to Windows 8.1 and the only problem I found was that the Beats Audio Control Pa

  • Mini-PEPITe creation Typedef would queue references

    Typedef of transfer would be given aid of queues used to be tedious if the typedef has changed and the transfer queue reference is passed between VI by using the controls. The tedious part was last updated all the controls for the ref of the queue be

  • generate sound that VI does not work on my PC

    I am trying to run the example vi generate sound.vi on a Dell, Windows 7 computer. DirectxV11 is installed. I get 4800 error occurred at his exit Configure.vi-> generate sound.vi.  The possible reasons: Labview (Hex 0x12C0) Selected device is not val

  • How to remove the stdrt / MRT for Windows Vista

    How to remove the program "stdrt" from my Vista system? Is there a virus/program scan that will seek out and destroy as this guy plays hide and seek. Thank you