Whether the object is a table, view, or synonym

In our database, there are a lot of tables/views which have similar fields. I get confused about which is which. In addition, there a lot of synonyms. Are there sql commands to check where an object is a table, view, or synonym for a table/view? If it's a view created from a view, I would like to trace through the hierarchy and find root tables which provide the data.

Thank you very much.

Check DBA_OBJECTS to the name of the object type. For synonyms, you can check DBA_SYNONYMS and point of view, you can see DBA_VIEWS.

Tags: Database

Similar Questions

  • Returns the name of the object in a table

    Hello

    I received the canvas of the objects stored in a table. Each painting has its name property.

    Is it possible to return a specific name?

    Actually I need an index number of this table, where I spend a name property of the object within this table (the name is taken from the event). Something like this:

    x = array.indexOf (canvasName = event.currentTarget.name)

    Why can't you just to target the instance?  It's enough to tell the difference between different objects.

    x = array.indexOf (event.currentTarget);

  • Can we capture changes made to the objects other than tables using streams

    Hi all

    I have set up a stream of level schema replication using local capture process. I can capture all DML changes on tables, but have some problems by capturing the DDL. Even if the streams are used for data sharing at different or in a database, I was wondering if we can replicate changes made to objects as views, procedures, functions and triggers in the source database. I'm not able to replicate the changes to my configuration view.

    Also, when I do a "select source_database, source_object_type, instantiation_scn from dba_apply_instantiated_objects' in the column 'object_type' I see just the TABLE in all selected lines.

    Thank you
    Sunny boy

    Hello

    Rivers didn't have any mechanism for failover like Dataguard. The dataguard performs automatic failover when the principal becomes unavailable, but still we need to redirect our applications to the new site and it doesn't automatically. At the same time applications will be switched to the node in a RAC Cluster database with the help of VIP (CRS resource). Oracle Streams has all these kinds of resources to help in the recovery and so you must include with your application. The application must be able to fail over to the node required incase if there is a failure.

    Thank you
    Florent

  • Transparently adding a criterion to all the objects in an application view

    Hi all

    We are migrating an application based on the forms in Oracle ADF and JDeveloper 11 g R2.

    In our application Forms, we add transparent business to all the blocks of data code where clause property by using the following expression: company_code = SYS_CONTEXT('erp$security_mgmt_ctx','company'). How this can be achieved in Oracle JDeveloper and Oracle ADF.

    Any help will be much appreciated.

    Thank you
    Bilal

    Hello

    You can have a method on the AOS, that is the place where clause to the view of all the objects and run the query.

    Ex:

    public void setWhereClause2AllVOs(String compName){
    this.getVO1().setWhereClause("='" + compName + "'");
    this.getVO1().executeQuery();
    this.getVO2().setWhereClause("='" + compName + "'");
    this.getVO2().executeQuery();
    .....
    }
    

    You can call this method at the start (e.g. as an activity in your workflow by default methodCall)

    Arun-

  • 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

  • Test whether the object is Assigned() which means... not null

    In Delphi using the Windows SDK, I can use the Assigned() function to determine if an object has been instantiated... IOW, not null.  How this is done in ActionScript?  I've been going around in circles in the documentation.  I can find every keyword and the operator, but I can't find how to test a null object variable.

    If (MyDataGrid.selectedItem is not null) {.. my... code...}

    Thanks in advance.

    If (MyDataGrid.selectedItem! = null) {.. my... code...}

    or

    If (!.) MyDataGrid.selectedItem) {.. my... code...}

  • Where I'm going wrong with the object Type

    Hello world
    I am trying to insert data into a table using a type of object
    Here is my code
    Please help me where I'm wrong...
    Thank you

    Code for the object. Type
    create or replace type emp_rec_type as object 
    ( empno number
     ,name varchar2(20)
     ,salary number(7,2)
     ,job varchar2(10)
     ,hiredate date
     ,commno number(7,2)
     ,deptno number(4));
     
    Now I want to insert data into the table like this
    begin
      insert into emp5 values(emp_rec_type(5,'jack',1000,'salesman','12-apr-2000',300.00,20));
    end;
    I don't want to create a variable of the object... Initialization type I want to create just to insert the value using the default constructor.

    Concerning
    Prost

    You can create the table of the object:

    create table emp5 of emp_rec_type;
    

    Kind regards
    Sayan M.

  • Convert the object to arraycollections

    I read in the forums when you return an XML element, Flex does not return the XML in a table but rather an object. I tried to put returnFormat = "array" in line with HTTPService but also to convert the object into a table according to 'getPhotoList' the use of this: event.result.gallery.photo = ArrayUtil.toArray (event.result.gallery.photo);

    I managed using both methods, suggestions?

    "< mx:HTTPService id ="photoListRequest"url =" ' list.php? type = customerImage "result =" getPhotoList (event) "method ="POST">
    < mx:request xmlns = "" >
    < user_id > {user_id} < / user_id >
    < / mx:request >
    < / mx:HTTPService >
    < mx:Script >
    <! [CDATA]
    [Bindable] private var fileXMLList:ArrayCollection;
    private void getPhotoList(event:ResultEvent):void {}
    photoXMLList = event.result.gallery.photo;
    }
    []] >
    < / mx:Script >

    Brad,

    Here is the solution that I found:

    private void getPhotoList(event:ResultEvent):void {}
    try {}
    photoXMLList = event.result.gallery.photo;
    }
    {catch(e:Error)})
    photoXMLList = new ArrayCollection();
    photoXMLList.addItem (event.result.gallery.photo);
    }
    }

  • How to view the ADSAccount.displayNamePrintable in the object browser

    We use D1IM Version 6.1.3. If we open the object browser, you open a user account object AD ADSAccount table, we cannot see the value of this object in the attribute "displayNamePrintable. If we develop this attribute in the line 'New' and 'Old' is written the following message:

    «User accounts to active Directory: look at a permission denied for 'Simple view' value.»

    How can I display the value of this attribute in the object browser without the help of the SQL commands?

    Thanks for all replies.

    Have you tried to activate the TargetSystem\ADS\Exchange2000 ConfigParm that should do the trick. Be sure to compile the database after you enable the configuration setting.

  • Hyperlink in the cell of a table in object state multi does not work

    Hello

    We have an app (DOS2015), which includes a gallery (with the status of multiple object) and on two of the pages State tables there.

    In certain cells in these tables are texts with hyperlinks. And all these hyperlinks do not work in dps 2015.

    (They do not work also in the folio Viewer. But they work if I copy the table into the object status multi on a normal page.

    It is by design or is it a trick?

    Thank you

    Hans

    Hyperlinks in tables are not supported in DPS. I'm not aware of a trick or workaround.

  • table/view that lists the system tables

    Hi all

    I had no chance for this search the web. What is the name of the table or view in Oracle which contains the list of all tables (object, USER_OBJECTS, USER_INDEXES etc) system?  I used a long time ago and couldn't remember his name. Sorry for this question.

    Thank you

    DICTIONARY

  • To access the tables/views outside of the APEX

    According to the request of Andrew as a separate and somewhat more extensive thread here:

    We have several tables/views created under some schemes; all equipped with grants and public synonyms.

    These tables is visible and accessible by all users-ORACLE (via forms and States - as it has recently used)

    Now, I started with APEX a few days ago - OK, seems to work - but with objects such only created inside of this APEX workspace.

    This kind of things outside OF THE SUMMIT is not visible.

    Why? What is missing? It was one of my questions 1.

    How do these objects visible in the APEX? Of course, we do not want all that stuff again, and existing in bulk.

    I guess that as a very common problem.

    (One solution I found already: creating views inside the APEX to access objects outside.) "It is not comfortable).

    Thank you

    Wolfgang

    Object browser is rudimentary, but behaves in the same way that developer SQL will report on these objects.

    Notice the 'Plan' selection list at the top right.

    If you have tried ' select * from abcxyz "SQL commands, you should have success - in the same way, you should have success in the creation of form/report on abcxyz via the synonym.

    Scott

    .

  • Access the method of class (impl) view of bean object (or vice versa)

    Halo everybody, I use JDeveloper 11.1.2.1.0

    I use a UsersViewImpl class with a method that update the table as below.

    public void resetEmployeeSearch() {}
    removeApplyViewCriteriaName ("viewCriteria");
    executeQuery();
    }

    and I have a UserBean class with a method that reset the values of fields of research such as below.

    {} public void resetInput (ActionEvent actionEvent)
    ........ RichInputText = entry...
    input.setValue("");
    AdfFacesContext.getCurrentInstance () .addPartialTarget (searchForm);
    ........
    }


    I want to implement that, once I press a button, the two methods are called.

    I tried to call method of bean using vs UsersViewImpl = new UsersViewImpl... who does not and will not work.
    I've read about something as ViewObject vo = am.findViewObject ("DeptView1") but I duno how to use because I can't have a good example.

    Any suggestion on access to the method of class (impl) view of bean object (or vice versa)?
    Or is it possible to combine the two method in the same class?


    Thanks :(

    and then create a link to this effect in your page. > Sorry, dun get this part. You create the link from the button to the UsersViewImpl method?
    The code below should be method (binding) in UsersViewImpl, right?
    OperationBinding op = ((DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ()) .getOperationBinding ();
    op. Execute();

    What I meant to say call this code your method of bean... this way you can call both the logic in your bean and the method of VO together!

  • What are the tables in 10g OEM repository shows the details of the objectives/groups

    Hi Experts,

    I had a requirement where I need to collect information on the targets for different groups and their status. And for this I need to know how we could collect their repository tables/views.

    Can someone help me to what repository views/tables will contain this information (I need to know the objectives and the corresponding group and its status).

    Thanks in advance.

    Naveen

    Check out mgmt$ target and mgmt group_members views $.
    -JP

  • Master - Detail of the object View and Javabean

    I have a table with data from VO (database, let's say in table A). This table has Id, name and processId table. I also have a second table below the first table, what data comes from a javabean (source data not DB). I created this bean data control, which in turn, I created the second table.
    What I want to achieve, it is when a user to select a row in the first table, I wish that the second table is updated according to the processId value of the selected row in the first table.
    Would you share how to do it?

    Thank you.

    Hello

    my Oracle Magazine July/August 2012 column covers a similar use case of Web Services that work in a relationship master / detail with ADF business components view objects. In this article I recommend using the programmatic view objects and entities that this ensures the consistency of the master / detail is handled by the template and cannot be controlled manually on the view layer. I think that the possibility of using a JavaBean domain controller and synchronize it with the object View is a valid option, however, if the rest of your application using ADF business components then I would consider programmatic view objects (and entities if the app is CRUD to the POJO too)

    Here's a sample and a good report:

    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed_25.html
    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed.html

    Frank

Maybe you are looking for

  • LabVIEW visa getting slow when connected to arduino

    Visa in labview when connected to the arduino prog becomes slow I checked it passes the codde required, but the action is slow and the most important every time to get the o/p I must stop the prog, then start again. I tried to do a new prog with visa

  • HP MediaSmart not reading BLURAY (new)

    01/07/2012...I'm this ad all over the boards until I get the good patch... HP Smart media will not play bluray... It was not working after updates from last year when I bought my Product name:HP Pavilion p6180t CTO desktop PCModel name:AV129AAR, Now

  • only a quarter of the screen appears when I play games

    When I play the sims 2 on windows xp, you can see that a quarter of the screen and plays the game in full screen behind bars. I tried to change the resolution, but nothing works and you can not our association in the game options menu because you can

  • HP Pavilion p076sa-15 Notebook PC with i5?

    Hi, I'm looking for and I like the blue on the HP Pavilion p076sa-15 Notebook PC but the i3 processor is not enough because I'm looking for. I was wondering if there is any way to upgrade the i3 processor i5 but keeping the color? Of course, I have t

  • No sound from ac411

    I can't hear any sound to it, new order, the new cpu and the drivers have been updated.  the system indicates that the device is working properly, but not sound.  I had to change to manaully spekers helmet icon and also manaully type in that ws speke