Try to find all THE objects that point to a column...

Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for Solaris: 11.2.0.3.0 - Production Version
NLSRTL Version 11.2.0.3.0 - Production



I have several patterns, all that have tons of objects that point to a column in a table.
I tried looking at v$ sqltext and v$ sqlarea, but it does not appear as expected.

There is a view that I can watch that will show me all the objects that relate to a single column?

my situation. Had to change the structure of data in this one column. Changed the default value of a Y a l I have packages, functions, triggers, etc... dealing with this single column. I make sure I have go through EACH of them and modify them to reflect the change in the column of the table. And still, it extends over several patterns that point to it.

I can't forget all the objects. Is there any one place to find it?

Thank you.

Use the mode - DBA_DEPENDENCIES

select * from dba_dependencies
where type= 'TABLE'
and name = '';

Another gross way...

select * from all_source
where lower(text) like lower('%%')
group by owner,name,type;

But, this will not search in the views & MView queries.

HTH
Vanessa B.

Published by: Vanessa B on October 15, 2012 23:09
-added

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Tags: Database

Similar Questions

  • try to find all the people that I blocked

    I blocked a few people and I can't find where are my blocked people. Im trying to unlock. Help!

    Hey !
    When blocking people, you have the option to remove them too, if you removed them, just a search on Skype and re-add/unblock their similarly to all block, you must search for them and click on "Tap to establish new contacts" and you should see your blocked contacts here

    Let me know if it helped you !

  • How is possible to create a smart collection to find all the photos that are not belongs to any collection?

    Hello

    How is possible to create a Smart Collection to find all the photos are not belongs to any collection?

    "Yesterday I was importing a lot of photo when my camera battery died then I succeeded him and continued to import without thinking that the previous import collection literally means" previous import. "

    So I need to find a way to create a smart collection that will reveal all the photos that do not belong to any collection.

    I solved the problem with a workaround is creating a collection based on the date of the photo which worked well, but must be nice to have a more general collection to find all the photo that are not from the collections.

    Thanks in advance,

    Marco.

    Another way to do

    1. Select all photos in the catalog

    2 dismiss a color label

    3. go to collections and multi select all your collections (ctrl)

    4. select images and give them a color

    5. return to the catalogue

    6. filter by color label - No

  • query: find all the rows that are not separate

    Hi first of all I am not dba nor have much experience of fancy requests so be gentle

    Im trying to find all the lines that have a non-distincte value in column "C".
    Therefore, if the values in the column 'C' where:
    4
    54
    33
    4
    1
    9
    9

    the query returns 4 and 9

    I made this request:

    Select t.c
    table t
    where 1 <)
    Select count (c)
    table
    where c = t.c)

    but this looks like n ^ 2 complexity that is too long for the size of this table

    is there a better way?
    Thank you
    select *
      from (select t.*, count ( * ) over (partition by C) cnt
                    from table1 t)
     where cnt > 1
    
  • Query to find all the tasks that were running for a particular user

    Hi all

    When you see the 'history of resource' of a particular resource for a user, we can see all the tasks that have been completed for the user.

    I have a requirement which is, I need to display the same information via a database query.

    Any help in this regard will be highly appreciated.

    Kind regards.

    OSI table contains the final task instance data.  If you see a task rejected 5 times, it will be so only one entry of osi.

    Select usr.usr_login, obj.obj_name, mil.mil_name, sch.sch_status

    OSI, mil, CHS, orc, pkg, usr, obj

    where osi.mil_key = mil.mil_key

    and osi.sch_key = sch.sch_key

    and osi.orc_key = orc.orc_key

    and orc.usr_key = usr.usr_key

    and osi.pkg_key = pkg.pkg_key

    and pkg.obj_key = obj.obj_key

    and upper (usr.usr_login) = upper(:usr_login)

    and upper (obj.obj_name) = upper(:obj_name)

    You can provide the user login name and resources, and this will provide you with all their tasks given.

    -Kevin

  • Find all the segments that belong to a DOMAIN index (effective)

    Hello

    I'm going through several diagrams to a different tablespace (because some objects have been created in wrong tablespace).

    Although this isn't a big deal index and ordinary table, I can't figure out how to find the segments that belong to a DOMAIN index to check whether they are in the good (or bad) tablespace.

    A select * from dba_indexes where index_type = 'DOMAIN' gives me these indexes.

    The only way to understand the corresponding segments for secondary objects seems to match the segment names. So if the index is the name of FOO_IDX, the segments would be DR$ FOO_IDX$ I, DR$ FOO_IDX$ K, DR$ FOO_IDX$ R and DR$ FOO_IDX$ N.

    What I currently have, is the following statement, but it takes forever (> 5 minutes) to find the clues of the field on the 'bad' even for just a single user tablespace:

    select *
    from dba_indexes idx
    where idx.owner = 'FOOBAR'
    and idx.index_type = 'DOMAIN'
    and exists (select 1 
                from dba_segments seg
                where regexp_replace(seg.segment_name, '^DR\$|\$[RIKN]$', '') = idx.index_name
                  and seg.owner = idx.owner
                  and seg.tablespace_name = 'WRONG_TBS'
                  and seg.segment_type = 'TABLE');
    
    

    I can't find a system view, linking a segment to the 'owner' index directly without going back to the distortion of the name.

    It's my version of Oracle:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Andrew, beautiful recoding of the SQL.

    casorp, how you looked at the content of the all_secondary_objects?  I think that this point of view has the information you want, but I don't have any domain defined index I can think to use as a check.

    - -

    HTH - Mark D Powell.

  • Find all the objects in a table space.

    I know that this seems to be a simple question; In fact, I hope that it is.

    The obvious answer seems to be query DBA_SEGMENTS predict on nom_tablespace, but these days, I see that if, for example, a table partition is newly created and contains no data, it may not have a segment. Yet, I still find it.

    Then I need to interrogate DBA_TABLES, DBA_TAB_PARTITIONS, DBA_TAB_SUBPARTITIONS, DBA_INDEXES, etc. for objects that have no segments attached to them?

    -edit I am on 11g

    An object non-segment (for example, a table or a partition without inserted rows still) would not be mentioned in DBA_SEGMENTS, you correctly identified.

    I don't know how to "unify" query.  You could start by DBA_SEGMENTS for all * segments of which does not exist.  Then, request, individually DBA_TABLES, DBA_TAB_PARTITIONS, DBA_INDEXES and DBA_IND_PARTITIONS to find segments "expected" - so do a union of two queries.

    Hemant K Collette

  • User accounts - I created a user account, but now I can't seem to find all the files that were on the pc before I put it in place... what happened to them?

    I never had an aaount usser put on the pc and had a large number of backup files.  Then I set up a new user account and it auto saet as administrator, but all the files are not there.  There is an another user account on the pc and it is called comments but the files aren't there either.  Is there a way to recover the missing data?

    Hi ColleenBrown-Hickey,
     
    Setting up a new user account does not remove the files. Search if the file is present on the computer by using Windows Search.
     
    For more information, see:
  • Why can't I find all the sites that I have visited in my temporary internet files? It will display all the sites I visited. Now it doesn't and I can't open the strange things contained therein. I didn't remove the navigation or the private browsing.

    Ok... I want to see where were the other people on my computer.

    That would be the navigation history. Firefox > history-> show all history

    Firefox does not use temporary Internet files for anything except the Windows Media files.

    Type of topic: cache in the URL bar and press ENTER.

    Disk cache device = the list Cache entries

  • I try to open all the tools that brings me to the purchase page. I have already purchased DC Pro, so I don't know why none of the Tools opens.

    I can't use the tools listed in the Tools section of my DC Pro Acrobat. Everything that I try to open head to the web page to buy the product, but when I click on the "Buy" button, it tells me that I must admit already.  Why can't I open the tools when I am trying to change or manipulate an open document?

    Hi Jennifer,.

    I assume you are using Reader not Pro. Cannot modify a PDF file

    Thank you

    Abhishek

  • All the objects that I add to layers are transparent. How to make solid! explosion of trying!

    Im making a video head explosion and whenever I have add an object in the scene as bursts of blood or splashes that I can see through the blood of blood and I want it solid HOW can I ACHIEVE the FULL EFFECT of realism! Help, please!

    Not knowing exactly what your blood looks like suddenly makes it a bit difficult to help.  But here's a proposed solution that can run anything.

    Create a precomp to your blood.

    Open the precomp.

    Duplicate the layer of blood.

    On the top layer of blood, add a Correction of color - black and white.  Adjust the level of red to be as white as possible.

    On the top layer of blood, adds a levels or curves and adjust it to the Red (which is now gray) to become white.  (essentially by making your own mask)

    On the bottom layer of blood value hides by Luma approach.

    Now, click the curved effect on your top layer.  Lock the effect control window by clicking on the padlock icon in the window.

    Go back to your main computer and the curves adjustment must always be visible in the effect control window.  The adjust until the luminance values work for your mask.

    You can also add controls masts to soften and adjust the appearance.

    I hope this helps if nothing else does.

  • How to resize all the objects on a stage

    Hello

    I use Flash CS4 and need to resize my Flash scene and all the objects that are there.

    To do this, I enabled the onion skin tool, selected all the objects and all the frames and resized using the Transform tool.

    However, masks and some paths are not set to scale proportionately. Is it yet another bug in CS4?

    Here is a video illustrating the issue: http://screencast.com/t/ZThiNDdkZ

    Any help would be much appreciated.

    Maybe you can try this way...

    Select the layer in the timeline. cut it. Create a new movieclip by pressing Ctrl + F8. Paste the layers.

    out to the main timeline.

    Drag the movieclip that is created in the timeline where ever it is necessary and he adapts accordingly.

  • I'm looking for all the cards that have a VIEW as the target object.

    Environment:

    OWB Tahoe development Version 11.2.0.1 Client on Windows 7
    Repositories on Oracle EE 11.2 on AIX

    Is there a way via the repository tables or OMB (shudder!) to get a list of all the cards that have a VIEW that the target object?

    Thank you very much!!

    -gary

    Try this:

    Re: How metadata repository OWB mapping?

    **************
    (1) log under user OWBSYS
    (2) run a procedure owbsys.wb_workspace_management.set_workspace

    exec owbsys.wb_workspace_management.set_workspace ('', '');
    (3) now the public view contains rows
    (4) at the end of the work to perform the owbsys.wb_workspace_management.unset_workspace procedure

    exec owbsys.wb_workspace_management.unset_workspace ();

    *************

  • Vista 32 Bit 2468871 KB and error code 643 - all the information that I find doesn't apply to Vista. Any suggestions?

    I'm trying to update KB 2468871 and sometimes it acts like it installs, but it is once again Important updates. I have tried many resolutions in these discussions, but nothing seems to solve the problem (perhaps because that relate to Windows 7). Someone at - it assistance for Vista SP2 Build 6002?

    I look for my Vista installation disc and can't find it. I finally is broken down and bought the Win 7 Pro Upgrade. If all goes well, that will solve all the questions that I have not only the one on this thread. Thanks for your help.

  • My kodakESP5 will not print all the object I want to print only a part of it

    My kodak ESP5 will not print all the object I want to print only a part of it

    Hi jakenny,

    You may need to replace an ink or toner cartridge. Check the status information in the queue for low ink or toner messages. If the printer has a status or display area, you can also check for low ink or toner messages on the printer itself. For more information, see change an ink or toner cartridge and view the print queue.

    Follow the instructions below that may help you resolve the issue.

    Method 1:

    See the link below and check the print settings.

    Choose printing options

    http://Windows.Microsoft.com/en-us/Windows-Vista/choosing-print-options

    Method 2:

    Try to update the printer driver which might help you resolve the issue.

    Click on the link below for more information on the updated printer drivers.

    Find and install printer drivers

    http://Windows.Microsoft.com/en-us/Windows-Vista/find-and-install-printer-drivers

    Check whether the problem is resolved.

    For more information, please see the link below.

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

Maybe you are looking for