How to get view's information about referenced columns in tables

Hello all,
I was searching for DBA view in Oracle DB that shows info about view. Especially, I want to find information for every column in a view - from which table is that column and what is its original column name. Is that possible at all?
Thanks in advance!

Hi Ivansev,
How about this?
select dbms_metadata.get_ddl('VIEW',<view_name>,<owner_of_view_default_current>) from dual; Example:
SQL> set long 4000
SQL> select  dbms_metadata.get_ddl('VIEW','V1','USER1') from dual;
DBMS_METADATA.GET_DDL('VIEW','V1','USER1')
  CREATE OR REPLACE FORCE VIEW "USER1"."V1" ("EMPN") AS
  select ename empn from scott.emp
SQL>

Similar Messages

  • How to get real time information about how many user are logged in and thei

    I use tomcat as my server platform in Ubuntu for a war file.
    I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.
    Here's the link:http://www.stardeveloper.com/article...1112001&page=1
    In order to get users' ip, in jsp, use request.getremotehost() or
    request.getremoteaddress() by editing the jsp file.
    I wonder if there's some open source software to use for these two purposes.
    Thank you!

    That url is missing a few bits. The ... in the middle doesn't help.
    we can count how many active sessions exist by a SessionCounter code.
    However, I have to permit HttpSessionListener in web.xml of tomcat.
    From other users' experiences, the configuration is complexed and has some errors.And have you tried it? The configuration isn't that complex.
    What errors do you mean? Errors in tracking people, variance in the count? Probably related to internet issues and nothing you can do will alleviate them.

  • How to get  only latest date and other columns from table

    Hi,
    Table
       id          name        date
      123        a             2/3/2010
      124        b            15/2/2010
      125        c             1/1/2010
      123        a             12/4/2010
      125        c             17/2/2010
    this is a table, here id,name,date is composite key.
    I want to select id,name and date so that latest date (e.g., for id 123 date 12/4/2010 be selected) is selected for each id and each id and name should be selected once.
    So what will be its query?
    Thanks

    Hi,
    user12222356 wrote:
    SQL> select id id,name name,max(dt) over 0 from temp2;
    select id id,name name,max(dt) over 0 from temp2
    ERROR at line 1:
    ORA-00923: FROM keyword not found where expectedWhat is over 0?That should be
    ... OVER ( )with a pair of parentheses.
    Almost all aggregate functions (including MAX) also have analytic counterparts. The parser knows that you're using the analytic version if the keyword OVER, followed by an analytic clause in parentheses, comes after the argument. In this case, the default analytic clause is being used, so there's no need to put anything in the parentheses, but syntax still requires that they be there.

  • How can I get/Catch the information about Trigger firing?

    How can I get/Catch the information about Trigger firing?

    I am running one application (backend is Oracle) and have written one trigger, which will insert one row in two tables depending on user event (After Update Trigger).
    I want know last fired Trigger Information.
    Thanks

  • How to get RMAN catalog information from Target database?

    Hi,
    How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
    Thanks

    If you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
    The RMAN backup script would have the connection identifier for the Catalog.
    Hemant K Chitale

  • Clicking on "View more information about this update" for 31.5.0 does nothing

    I got a pop-up today that Thunderbird 31.5.0 is available. I clicked on "View more information about this update" because that usually takes me to the release notes and I prefer to read about updates and download and install them myself, rather than have the system do it for me. (I do this so I can save previous versions in case I run into a problem with the latest and want to go back.) But when I clicked on "View more information about this update" nothing happened. It didn't switch over to the browser nor start loading the release notes.

    About 5-10 minutes after I had clicked on "View more information about this update" a few times (and had manually gone to https://www.mozilla.org/en-US/thunderbird/31.5.0/releasenotes/ and downloaded and was in the process of installing the new release), my browser opened up three tabs on that page. I guess it was just a very delayed response.

  • How can I see the information about a file used in a sequence?

    How can I see the information about a file used in a sequence?

    You can use pretty much any two or multiple button mouse on a Mac, right out of the box.
    I use this one: http://www.apple.com/mightymouse/

  • I tunes has stopped working in windows 7 and I don't know how to get the crash information that everyone else seems to get to know what the cause is....any help?  I have a toshiba windows 7 computer.

    I have a toshiba computer and it is windows 7, recently after I installed imatch everytime I open itunes I get the message 'i tunes has stopped working' and windows cannot find a solution and has to close.  There is no solution and I don't know how to get the crash information on my computer....can anyone help as I want to finish downloading all my songs to match to be available on my mac products.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • How-to get Font weight information while reading a PDF document

    Hello everyone
    it seems that the available tools to read PDF documents from Java don't allow to get font weight informations about the tokens read from PDF.
    I need to know if a character is bold in order to recognize if it could be part of a paragraph's title.
    is there a way to keep this information? (now I'm using PDFBox but it seems to allow only to get the PDF content as plain text, without keeping this kind of font weight info...)
    thanks sincerely a lot
    to anyone who would be so kind to help me
    ;)

    shilkie wrote:
    I've already read the wiki and the examples about iText, and also the two free tutorial chapters, but it seems iText doesn't allow to check the font character of a pre-existing PDF document,,it only allows to create document with a specified font but this is not what I needWell, to tell you the truth, I don't do much with PDF, myself, I only believe (from anecdotal evidence) that iText is much better than PDFBox. Have you downloaded it and tried a few things, or just read some of the docu? I am fairly sure that if you designate a font, there is probably a way to retreive this font as well, although not necessarily. Download it and play around a bit.

  • How to get Remote System informations using java

    Hi
    Any one know how to get remote machine information, processor speed , mainmemory size, etc using java .
    Thanks in adv.......

    Hi
    Any one know how to get remote machine information,
    processor speed , mainmemory size, etc using java .
    Thanks in adv.......That's impossible.
    Kaj

  • How to get all the values in one column of a JTable

    How to get all the values in one column of a JTable as a Collection of String.
    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.

    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column. You could always write a custom TableModel that stores the data in the format you want it. It would probably be about 50 lines of code. Or you could write a loop in 3 lines of code. I'll let you decide which approach you want to take.

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • How to get the data from pcl2 cluster for TCRT table.

    Hi frndz,
    How to get the data from pcl2 cluster for tcrt table for us payroll.
    Thanks in advance.
    Harisumanth.Ch

    PL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
    ~Suresh

  • How to get list of block identifiers in a empty table and an empty index

    We have an application that has issue with ITL waits: this application is running many INSERT statements on a table that has 2 NUMBER columns and one primary key index. The application is designed to run INSERT statements but they are never committed (this is a software package).
    To check what are the really allocated ITL slots, I know that I can dump data block but I don't know how to get the block identifiers/numbers for an "empty" table and an "empty" index. Does someone knows how to do that ?
    PS: I already had a look to the Metalink notes and I have a Metalink SR for that but maybe OTN forum is faster ?

    You should be able to find the first data/index block with the following, even on an empty table/index.
    select header_file, header_block +1
    from dba_segments
    where segment_name = '<index or table name>';

  • How to get the object class field value in CDHDR table for vendor

    hi
    how to get the object class field value in CDHDR table for vendor

    Try KRED/KRED_N as object class in CDHDR for Vendor.

Maybe you are looking for

  • HP Laserjet m251nw - won't print in color

    I am not able to print in color to my hp m251nw. It has been about a week since the problem started.   I replaced all the color cartridges as they were low.  Now, no matter what device I use to print - laptop, mobile phone, etc. it always comes out i

  • Record Navigation Problem

    Hi All! I have a Master-Detail Form, when I execute query using F8 key then query executed successfully. So, now I want to make change in Detail Block, when I make change in Detail Block and then I move to first block and want to navigate to next rec

  • Why won't extra page at the beginning of launchpad go away?

    An empty page at the beginning of launchpad just randomly appeared and it won't go away despite having no apps on it. I could move each app one by one to the front of launchpad and just eliminate the launchpad, but that would take too long- any other

  • Macbook Pro 17" 2.4GHz Core 2 Duo problems with OS X Lion

    I purchase MBP since 2007 came with OS X Tiger. After a few years i upgrade to OS X Leopard, OS X Snow Leopard is work great wonderful for my MBP. I think OS X Lion will be more better for my MBP, after i install Lion is not working with my MBP is al

  • Multiple photos in keynote?

    Can multiple images be inserted into Keynote (ipad2 version), with 1 image per slide (similar to the Photo Album feature on a PC using PowerPoint). I'd also want to add music. I don't have a mac, so can't create the presentation in the version of key