How to check the table have are all views in oracle

Hello
How to check the table have are all views in oracle
SELECT * FROM user_dependencies
WHERE type='VIEW'
AND referenced_type='TABLE'
AND referenced_name ='Your_Table_Name' 

You can use dba_dependencies to find views in the different schema.

Tags: Database

Similar Questions

  • How to check the table (null / not null) on the screen?

    Hello all :)


    I am beginner in JDEV

    I have problem with table.
    When you view the table, I want to know if the existing data in the table are empty or not (check the query zero / non-zero)? How to do

    someone help me... :))

    THX
    agungdmt

    Hello

    If you use ADF BC, access the iterator and call getEstimatedRowCound

    Table richeTableau = get JSF component binding to table

    TableBinding JUCtrlHierBinding = (JUCtrlHierBinding) (table.getValue ()) .getWrappedData ((CollectionModel));
    DCIteratorBinding iter = tableBinding.getIteratorBinding ();

    int count = iter.getEstimatedRowCount ();

    You can do the same thing in EL

    #{bindings.iteratorName.estimatedRowCount > 0}--> true if given

    Frank

  • How to check the table of organization

    Hi all

    How can we check the Organization of a table and more knowing that at the time of the creation of the TABLE, as we do for the external ORGANIZATION EXTERNAL tables.

    Thank you

    user13332773 wrote:
    Hi all

    How can we check the Organization of a table and more knowing that at the time of the creation of the TABLE, as we do for the external ORGANIZATION EXTERNAL tables.

    Thank you

    select * from dba_tables
    where iot_type = 'IOT' 
    
  • How to check the table reused in oracle 10g space?

    Hello..

    Of my system, I see table size keep growing event the deletion request is running. Because of this, I would like to check either the allowed oracle to reuse space table or not? If not then how can I enable it?


    Please help me...


    Thank you
    Balleur

    You can use dbms_space.space_usage to check for free space.

    Reuse of the space will depend on whether you use MSSM or SAMS, PCT_FREE, PCT_USED and the way in which new data is inserted?

    You can reduce or move the table and rebuild the index to reclaim space.

  • How to find the tables that are used in a procedure

    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    Mark1970 wrote:
    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    I don't know if I understand your problem, but have you had a glance at the data dictionary views USER_DEPENDENCIES or ALL_DEPENDENCIES?

    It has classified hard dependencies of objects.
    If a table is used directly (not in dynamic SQL code in a string) in an object PL/SQL, the dependency is available in the stated points of view.

  • How to check the event for any activity view?

    My PC wakes up in the middle of the night recently, and I would like to know what to check the event viewer and see what type of program wakes up my PC for the Hibernate.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    I would look at the branches and Application System.

  • How to check the data that are not digital?

    I have a varchar field and I would check for all of the lines where it does not contain a numeric value. How can I achieve this?
    Thanks in advance.

    One option is to write a small function

    CREATE OR REPLACE FUNCTION is_numeric( p_str IN VARCHAR2 )
      RETURN NUMBER
    IS
      l_num NUMBER;
    BEGIN
      l_num := to_number( p_str );
      RETURN 1;
    EXCEPTION
      WHEN others THEN
        RETURN 0;
    END;
    

    only then can you call

    SELECT *
      FROM some_table
     WHERE is_numeric( some_string_column ) = 0
    

    Of course, you can adapt the function to return the numeric value rather than a 1 or a 0 more.

    Justin

    Published by: Justin Cave on June 21, 2011 18:15

    Depending on the version of Oracle (which you don't mention), you can also write a regular expression to search for things other than numbers. This can become a little difficult if you have to manage commas and dots as decimal separators and grouping because different regions use the symbols differently and have different rules about what are valid models.

  • How to get the node root for all nodes using oracle SQL?

    Suppose I have an employee table, which has the following features:

    ID name MgrID
    ----------------------------------------
    1 Tom
    Jason 2 1
    3 Kelly 2
    4 Chris 2
    Russ 5 3
    --------------------------------------

    I want to get the following result.

    ID name RootMgrID
    ------------------------------------------------
    1 Tom
    Jason 2 1
    3 Kelly 1
    4 Chris 1
    Russ 5 1
    -----------------------------------------------

    How can I get it?

    Thank you very much

    Like this?

    SQL> with t as
      2  (select 1 id, 'Tom ' name, null mgr_id from dual
      3  union all
      4  select 2 id, 'Jason' name, 1 mgr_id from dual
      5  union all
      6  select 3 , 'Kelly ', 2 from dual
      7  union all
      8  select 4 , 'Chris ', 2 from dual
      9  union all
     10  select 5 , 'Russ ', 3 from dual
     11  )
     12  select id, name, connect_by_root(id)
     13  from t
     14  where name = 'Russ '
     15  connect by mgr_id = prior id
     16  start with id = 1
     17  /
    
            ID NAME   CONNECT_BY_ROOT(ID)
    ---------- ------ -------------------
             5 Russ                     1
    
    SQL>
    
  • I forgot to backup Outlook Express! However, the .dbx files are all in the data folder of Application that I have back up! How can I see what is in them to import to my chosen e-mail program?

    Original title: .dbx files

    I've updated computer laptop of my client from Windows XP to 7.  I forgot to backup Outlook Express!  However, the .dbx files are all in the data folder of Application that I have back up!  How can I see what is in them to import to my chosen e-mail program?

    This is how you would normally import into Windows Live Mail. If all goes well it will give you enough of a jump start.
     
     
     
    Copy the * ENTIRE * OE message store folder to a flash drive. (Folders.dbx must be included). Place it on the desktop or another location on the computer using WLMail.
     

    WLMail 2011/2012: folder button. Import Messages. Microsoft Outlook Express 6, and the point where it was saved.
     
     

     
     
     
     
     
     
     
     
  • How to check the status of the statistics on a table?

    Hello
    I started the statistics collection on a few large tables in my database.
    How to check the status of statistics about a table? Are there views of data dictionary or tables to monitor the progress of the collection of statistics.


    Regds,
    Malika

    Hi all

    You can check with this little script.
    It lists details of sid for long as running session
    When he started
    What last update
    How long still to the left
    "ACTIVE/INACTIVE" session state etc.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    -Author: James Syed_
    -Script_name: sid_long_ops.sql
    -Description: list details of sid for long running the session as when it began when the last update how long still to the left.

    fixed lines 200
    Neck LESS to a25

    Select
    a.SID,
    a.Serial #.
    b.Status,
    a.opname,
    TO_CHAR (a.START_TIME,' DD-me-AAAA HH24:mi:ss) START_TIME,
    TO_CHAR (a.LAST_UPDATE_TIME,' DD-me-AAAA HH24:mi:ss) LAST_UPDATE_TIME,.
    a.time_remaining as 'time remaining dry. "
    a.time_remaining/60 as "Min remaining time."
    a.time_remaining/60/60 as 'remaining time in HR.
    V $ session_longops a, v$ session b
    where = select a.sid
    a.sid = & sid
    And time_remaining > 0;

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

    The sample output:
    --------------------

    SQL > @sid_long_ops
    Enter the SID value: 474
    13 old: a.sid = & sid
    13 News: and a.sid = 474

    SID, SERIAL # STATUS START_TIME LAST_UPDATE_TIME remaining time LESS dry time remaining minutes remaining HR time
    --------------------------------
    474 2033 ACTIVE collection schema statistics June 6, 2012 20:10:49 June 7, 2012 01:35:24 572 9.53333333.158888889

    Thank you & best regards

    Syed James.
    Oracle Apps DBA
    Mobile: + 91 9966270072
    E-mail: [email protected]

  • How to check the links and buttons of enamel are traceable? If I send the email through Eloqua?

    I sent you an email through Eloqua. I don't know how to check the links and buttons are traceable?

    Hi Lucie,.

    There are 3 ways to check your links and buttons are traceable or not:

    1. When you mouse pass the link or button it will not display the actual URL. It will show you a few encrypted URL which will redirect you to the actual URL.

    2. connect to the eloqua account and search your email. When your email open ups click setting ICON and then click on manage links. All the links and URL of the button should be checked.

    3. If you want to check at the level of the code make sure after all the links and buttons URL "elqtrack = true" must be written.

    Hope this will help...

    Thank you

  • How to check the value of the space of the tablespaces and tables when errors occur?

    Hi Experts,

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Thanks for your help

    Hello

    Select df.tablespace_name "Tablespace"

    totalusedspace 'Used MB',

    (df.totalspace - tu.totalusedspace) "MB free.

    DF. TotalSpace 'Total MB. "

    round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))

    "PCT free."

    Of

    (select nom_tablespace,

    Round (Sum (bytes) / 1048576) TotalSpace

    from dba_data_files

    Group by tablespace_name) df,.

    (select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)

    from dba_segments

    you group by tablespace_name)

    where df.tablespace_name = tu.tablespace_name

    and df.tablespace_name = "";

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Is to say clearly to the question (you can let us know what you have understood so we can fix)

    [oracle@machine1 ~] $01653 oerr ora

    01653, 00000, "impossible to extend %s.%s table by %s in %s tablespace»

    * Cause: Failed to allocate a certain measure the required number of blocks for

    a segment of the table in the specified tablespace.

    * Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more

    storage of files indicate.

    -Thank you

    Pavan Kumar N

  • How to check the account of a column value is less than the other value of column in a table with a single column

    Hello

    Please let me know how to query the table and get the records that are less than the other column.

    ID item_id item_type

    3     1           r1

    2 4 r2

    1 5 r3

    6 5 r4

    I need to get all the lines in which item_id < id

    o/p

    ID item_id item_type

    3     1           r1

    6 5 r4

    SELECT ID, ITEM_ID, ITEM_TYPE

    Of

    WHERE ITEM_ID<>

  • How to find all the table names in all modules in EBS R12?

    How to find all the table names of all the modules in EBS R12?

    In addition, you can go to http://etrm.oracle.com, you select the version of the EBS, select "FND Data" or "S/n data", select the Type of the object TABLE and you will get all the tables of EBS in module.

  • How to design the table from the answer to the question table.

    Hi all

    I am creating an application for student review online.

    There are two types of questions, the only choice of response and multi choice answers.

    My question is less than
    create table question_master
    (
    exam_id number references exam_master(exam_id),
    marks_of_each_question number,
    type_of_question char(1),-- single choice answer/multiple choices answer
    q1 varchar2(2000),
    q2 varchar2(2000),
    q3 varchar2(2000),
    q4 varchar2(2000))
    my table to answer (I'm not satisfied with who is below
    create table answers_of_questions
    (
    answer_id number primary key,
    question_ID number referenes question_master(question_id),
    answer varchar2(4000) not null,
    is_answer_correct char(1),--y/n,
    student_selection char(1),--y/n   student select it or not
    ....
    ...
    now, I'm perfectly how to create the RESPONSE table to contain the answers.
    the only choice is good, but several checkboxes choices, what to do?
    How to design the table from the answer?

    do I have to create 2 tables to contain the answers?
    Note: the QUESTIONS and ANSWERS, all will be entered by the teacher. students will make a choice and I will store this choice in another table
    may be called STUDENT_SELECTED_ANSWERS or something like that.
    If anyone has some reference to the script retail scheme review online, kindly share with me.

    Kind regards.

    Kind regards.

    If you need to have answers in another table:

    Student (student_id, name, etc...)
    Review (exam_id, exam_name, etc...)
    Question (question_id, exam_id, question_text)

    Response (question_id, a_text, b_text, c_text, d_text, a, b, c, d).<-- one-to-one="" with="" question="" table,="" a-d="" flags="" used="" to="" indicate="">
    OR
    Response (question_id, answer_id, answer_text, OK)<-- many-to-one="" with="" question="" table,="" correct="" flag="" used="" to="" indicate="" correctness="" for="" this="" single="">

    Student_Answer (student_id, question_id, a, b, c and d)
    OR
    Student_Answer (question_id, student_id, answer_id)<-- creation="" of="" a="" question_id+answer_id="" in="" this="" table="" implies="" the="" student="" checked/selected="" it="" as="" an="">

    To what extent you want to standardize, it is up to you.

Maybe you are looking for

  • Possibility to change the color of visited links

    Hello. Y at - it an option on the occasion of visited links a different color on the Android version? On PC, I can do this via Firefox option or modules. But I can't find this option on Android. Thank youTom

  • Need help with opening to the conversion of Lightroom

    I am doing tests with Lightroom and have questions about the structure of the file after the import of Aperture.  I see that the import into Lightroom preset creates a very nice folder structure that can be seen in the Finder - year / month / event o

  • Disinfection of my iPad screen

    My son used our iPad last night and woke up with pink eye. I need to disinfect on-screen. Is there a way to do this? Clean with a damp cloth not disinfect it.

  • Accidentally deleted his program

    I accidentally deleted a sound program of my system and now there is no sound. I don't remember what I deleted, so I don't know how to get it back. He was on the list of programs to remove/edit. I know it had to do with Realtek. I tried to download t

  • G7F08EA MEMORY_MANAGEMENT blue screen

    I got this phone 2 weeks ago, and the first day I had this... (BSOD, MEMORY_MANAGEMENT) Yesterday I did a restore of the operating system and I have yet to get it! Someone said I should update the drivers, but I don't know what are those who... Detec