Which is oracle's dictionary to find which TABLE in particular SCHEMA.

Hi All,
Which is oracle’s dictionary to find which TABLE in particular SCHEMA with particular ROLE is missing.
Thanks in advance

user10699277 wrote:
Hi
We have role called XYZ which is assigned to specfic tables in schema ABC.No you don't. Roles are GRANTed (not assigned) to USERS or ROLES, not TABLES.
There are tables in the same schema which dont have the role XYZ.
In these case we need to find the table that dont have XYZ role.
Thanks in Advance...

Similar Messages

  • How to find full tables hierarchy in schema

    Hi,
    How to find the table hierarchy list from oracle schema by using Reference Key constraint?
    In my schema I am having many tables, approximate 4000 and from there I needs to get a single list which should be based in the Foriegn key based (Parent tables should be first then child tables)
    Regards
    Anee

    You can start with this
    select A.table_name children,
             B.TAble_name Father
    from DBA_CONSTRAINTS A,
            DBA_CONSTRAINTS B
    WHERE A.CONSTRAINT_TYPE = 'R'
         And B.Constraint_name = a.r_Constraint_name

  • How do I find what table a field is in?

    Hi,
    If I know a field name, how would I search the Data Dictionary to find the table (or tables) that the field is found in?
    For example, I have a program spec that that says field AZSUB is in table MARM, but it is not.  How can I find what table this field is actualkly in?
    Thanks for your help!
    Andy

    Hi Andrew,
    Just goto se11, enter the data element of that field and clisk on the where used list on the application tool bar. You will get all the tables in which the field appears.
    You got find out which would be your appropriate table may be using by the description of the table or the contents or by the links..
    Regards,
    Vinod Kumar

  • Finding a TABLE based on a COLUMN NAME...

    I need to find all tables that that have a common column name.
    Upon searching the Forum, I found this nice nugget:
    How to find the table in a schema if I only know a particular column name
    The problem is, my USER_TAB_COLUMNS is EMPTY!
    If it had worked, then my statement would be:
    select * from USER_TAB_COLUMNS
    where COLUMN_NAME LIKE '%TEST%'
    and OWNER='ME';
    I get "no rows selected" (though I know they exist)
    if I do:
    select * from USER_TAB_COLUMNS
    I also get "no rows selected"
    Any ideas!
    Thanks!
    KSL.

    The user_xxx data dictionary tables show all of the whatevers that are owned by the logged in user. So, if you are logged in as user1 the user_tab_columns view will only show tables and views owned by user1.
    The all_xxx dictionary views show all of the whatevers that the logged in user has access to. so if you are logged in as user1 and user2 gave you selet privileges on tablea, then you would see tablea in all_tab_columns.
    The dba_xxx views show all objects in the database, but are generally only available to privileged users.
    If you have access to the dba_views, try:
    SELECT owner, object_type
    FROM dba_objects
    WHERE UPPER(object_name) = 'ANL'It is possible that the table and or its columns were created with double quotes so are case sensitve. It may also be a synonym, pointing to one of the tables that you got form your query.
    If you are only using all_tab_columns then it is possible that the user you are logged in as does not have privileges on the table anl so would not see it in the view.
    A long shot, but are you sure you are in the right database?
    John

  • How to find which query need to tuned

    Hi ,
    How can i find , which query need to tuned . Is there any mechanism behind it?

    The mechanisms behind it are depending on your database version.
    For example:
    Oracle 9i has STATSPACK that helps you to identify possible problem queries.
    Oracle 10g has AWR - Automatic Workload Repository
    Oracle 11g has SPA - Database Replay SQL Performance Analyzer
    but there are many more tools/mechanisms...trace/tkprof for example.
    Go to http://tahiti.oracle.com and do a search on 'performance tuning guide', and pick the one that matches your (sofar unknown) database version, read a bit every now and then and see what tools are at your disposal and fit your requirement and situation.
    Besides the links that Blu already posted, searches on http://asktom.oracle.com also give lots of pointers and explanations regarding the (neverending) tuning process (at least: helped me tremendously in understanding the tuning process, the do's and dont's).
    Make sure you don't get CTD (Compulsive Tuning Disorder) from all this... ;)

  • Way to find which tables are being accessed

    Hi Guys
    I have a large database and i want to find which tables are not being accessed (even select) from a specific period of time. is there any way to find out . I am using oracke 10g release 1
    Regards
    Khurana
    Edited by: Khurana on Sep 8, 2009 4:29 PM

    select sp.object_owner,sp.object_name,
    (select sql_text from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) sqltext,
    (select executions from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) no_of_full_scans,
    (select lpad(nvl(trim(to_char(num_rows)),' '),15,' ')||' | '||lpad(nvl(trim(to_char(blocks)),' '),15,' ')||' | '||buffer_pool
    from dba_tables where table_name = sp.object_name
    and owner = sp.object_owner) "rows|blocks|pool"
    from v$sql_plan sp
    where operation='TABLE ACCESS'
    and object_owner IN ('YOUR_USER_NAME')
    order by 1,2
    It will tell you that currently "OBJECT_NAME" is being accessed; but i think it is for full table scan.
    Source:http://www.oracle.com/technology/oramag/code/tips2005/032105.html
    Regards
    Girish Sharma

  • Run search on user table to find which users belong to which department

    Hello,
    I'd like to know if it's possible to search a user table in SAP or Oracle where users and his/her department are displayed.
    The user's department is of course defined in SU01 but in stead of of entering user per user in SU01, I want to find the table where I can run a search.
    Eg: I have a long list (300) of users and I just want to know in which department they are working.
    SAP system release = 4.7 R3
    Oracle = 9.2.0.8
    Thanks a lot
    Bert

    Perfect ! I was trying to find it and this answered it perfectly ! Thanks

  • Which one Oracle Application is suit more?

    Hi all,
    My company have a ERP system, but it is old and haven't match our workflow now.
    So I ask for demo on SAP Business One, NetSuite etc.
    Now Oracle..
    But I find Oracle have two products line... "Oracle E-Business Suite " and the "Oracle Business Intelligence Suite, Enterprise Edition Plus"
    I am new to Oracle, which one is better for ERP using include base BI function?
    And which one is cheap? I go to Oracle Online Store, haven't the price of the Oracle E-Business Suite per user..
    Thank you of your valuable time and help.
    Best Regards,
    Jimmy.

    Hi,
    Please see your other thread.
    Which one Oracle Application is suit more?
    Re: Which one Oracle Application is suit more?
    Regards,
    Hussein

  • How to find which query ORA-1652: unable to extend temp segment by 128 in

    How can i find which query caused the below error,the query is not running currently
    ORACLE ERRORS IN ALERTS LOG dnb2stg3 - lnx300 on Thu Jun 17 12:10:01 EDT 2010
    1 ORA-1652: unable to extend temp segment by 128 in tablespace TEMP_SCHED
    SQL> select inst_id, tablespace_name, total_blocks, used_blocks, free_blocks from gv$sort_segment;
    INST_ID TABLESPACE_NAME TOTAL_BLOCKS USED_BLOCKS FREE_BLOCKS
    1 TEMP 638336 0 638336
    4 TEMP 565760 0 565760
    4 TEMP_SCHED 16776704 0 16776704
    3 TEMP 484864 0 484864
    3 TEMP_SCHED 0 0 0
    2 TEMP 455808 0 455808
    6 rows selected.
    SQL> SQL> SELECT S.sid || ',' || S.serial# sid_serial, S.username,
    2 T.blocks * TBS.block_size / 1024 / 1024 mb_used, T.tablespace,
    3 T.sqladdr address, Q.hash_value, Q.sql_text
    FROM v$sort_usage T, gv$session S, gv$sqlarea Q, dba_tablespaces TBS
    4 5 WHERE T.session_addr = S.saddr
    6 AND T.sqladdr = Q.address (+)
    7 AND T.tablespace = TBS.tablespace_name
    8 ORDER BY S.sid;
    no rows selected

    Hello,
    You may try to catch the SQL with a Servererror Trigger.
    This link will give you an interesting example:
    http://oratips-ddf.blogspot.com/2008/09/to-err-is-human.html
    Hope this help.
    Best regards,
    Jean-Valentin

  • How to find which version of JDK is loadjava using

    Hi All,
    How to find which version of JDK is loadjava using?
    I am using Oracle : 9.0.1.5.1 and I need to use class javax.crypto.Cipher which is shipped with JDK 1.4.2, but loadjava is unable to import javax.crypto.*;
    Any inputs would be greatly appreciated.
    Thanks and regards,
    Abba

    Abba,
    From memory only (since I haven't verified it), "loadjava" is a script, so you can have a look at its contents. I believe it actually uses JDK 1.1.8 (which is part of the Oracle installation). In any case, Oracle 9i is compatible with JDK 1.3 only.
    Oracle 10g is compatible with JDK 1.4.
    Good Luck,
    Avi.

  • Oraclew error ora-01114 - How do I find which file ?

    I am getting the error ora-01114, and I've seen all the answers about either being a temporary file or the disk being offline. I don't think it's a temp file, though, and the disk is online. The file number is 23 that's giving the error, Being new to Oracle, though, I need help with what the sqlplus commands would be to find which file is number 23.
    Thanks

    I listed 4 different views you can query in my previous posts!
    Do a describe on v$datafile and v$tempfile. Both views are described along with the other mentioned views in your Oracle version# Reference manual.
    UT1 > select name
    2 from v$datafile
    3 where file# = 23;
    NAME
    /dev/rut3_ixsp_1.dbf
    HTH -- Mark D Powell --

  • Finding which forms use an element

    Hello from the Land of Lincoln;
    How can I find where an element is used in forms? Is there a query for that?
    Also, can I limit the form search to only forms where the element is updated (and not display only)
    ex: element table_job_position shows up on which forms?
    Thanks
    Holly

    With elements you mean table columns?
    There is no easy way to find out what columns are used in what forms. You could make XML versions of the Forms (if you use Forms 9.0.4 or later) and use any text searching tool to search for a known column name in the XML files.
    There are third party tools that can do this. The function is usually referred to as Impact Analysis. Do a google search on "Oracle Forms" "impact analysis" and you'll find them.

  • How to use dvb to find which blocks are corrupted?

    hi
    how to use dvb to find which blocks are corrupted?
    and how to repair it from two days back user managed back up when database is in no archive log mode?
    rgrds
    Edited by: new2appsdba on Jul 30, 2010 9:50 PM

    Hi,
    Please see these documents.
    Note: 434013.1 - HOW TO TROUBLESHOOT AND RESOLVE an ORA-1110
    Note: 352907.1 - Script To Run DBV On All Datafiles Of the Database
    Note: 836658.1 - Identify the corruption extension using RMAN/DBV/ANALYZE etc
    Note: 35512.1 - DBVERIFY - Database file Verification Utility (7.3.2 - 10.2)
    Note: 403747.1 - FAQ: Physical Corruption
    Note: 28814.1 - Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g/11g
    Thanks,
    Hussein

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

Maybe you are looking for

  • Why does this happen when I insert editable region?

    Hi ppl... I got a small problem here. When I insert editing region into the ORANGEBOX div, for some unknown reason which I can't figure out, my spry menu bar shifts to the left. But in preview, it looks fine. What's the reason for this and how can I

  • Doubt regarding restore

    Hi All, I have one doubt. I took the back of one database. While restore the same I found that it is storing thw control file in $ORACLE_HOME/dbs folder instead of actual folder. Can anybody explain me why this is happening? The acutal location of co

  • Issue with Swedish Characters in mail body

    Hi, We are sending mails to some other system from SharePoint. All the swedish characters like ä,Ä,ö become ???. When we are sending mails from outlook to that system , we are getting proper mail. so the issue is from sharepoint side. we are sending

  • How to transfer comments with songs

    How do I transfer my music from iTunes to a flash drive in the order I've already sorted them? The transfer changes their names by adding numbers to their front then auto sorts by name. I added numeric sequence to the comments hoping I could use the

  • Information on Oracle's Life Sciences Platform

    Hi all, Oracle ST Development (Database, Application Server and Collaboration Suite) has identified many features that are uniquely appreciated by scientists, biologists, IT personnel, etc. in life sciences. More information on Oracle's Platform for