How to find the column column_name from data_dictionary views

Hi all.

I have 60 + views, and I need to create a join based on those views.
I'm looking for the name of the column of the data_dictionary so that I can write a script to write the SQL code to create the view to join?

Something equivalent to user_tab_columns?

I don't see that there is a user_view_columns?

-Thanks for all the help

View columns are user_tab_columns and all/dba_tab_columns.

Tags: Database

Similar Questions

  • How to find the flash player from adobe for the kindle fire HD 7

    How can I find the right Adobe flashplayer for my kindleFireHD7

    Hi cusick, Bradley

    The last Kindle Fire HD is not officially supported by Flash Player.  Please see this page for a list of all certified devices:

    That said, some users were able to get Flash Player working on Kindle using Dolphin fire, a third of browser.

  • How to find the last person from my iPad that is locked

    I need help to find who is the person who took my iPad 2, so I can't unlock

    Unfortunately, it is to you to find the previous owner. We can not help you with that.

    If you are trying to accomplish something else, we would need more information.

  • How to sort the column total in pivot view

    Hello guys

    I have a report in pivot mode, where I put the call on the section of the column type. So the report looks to below with the AMOUNT applied to the section of the column:
                                       Call Type1         Call Type2       Call Type3               TOTAL
    ID                                        SALES TOTAL
    
    A                                  100                  200                300                       500
    B                                  200                  200                400                       800
    C
    D
    E
    My question, how can I sort the data in the field "TOTAL"? The challenge, seems, is that, since 'TOTAL' is not a column of the table, but just a screen of pivot Sum, it cannot be sorted H - L or L.-H...

    But I would like to get some advice from you guys before you do my conclusion

    Thank you

    Published by: user7276913 on January 11, 2010 10:05

    You can't have sorting on the PivotTable total.

    On a workaround solution.
    You can create a column in the criteria that calculate the sum

    SUM (sales_total by ID)

    Assign the sorting on this column order
    You can exclude this column in the PivotTable

    Kind regards
    Rambeau

  • OBIEE11G: I want to know how to sort the columns of a pivot view?

    It's my opinion of pivot

    TYPE_OUTILtool_nameyearamount
    At2n120120
    20133172
    20143535
    2015190
    BT1N120121
    20131867
    20142995
    2015357
    T1N220124
    20131371
    20142410
    2015437

    After I sort the amount column in descending

    TYPE_OUTILtool_nameyearamount
    BT1N120142995
    20131867
    2015357
    20121
    T1N220142410
    20131371
    2015437
    201256
    At2n120143535
    20133172
    2015190
    20120

    Why tool_type:B is the top of the table instead of A?

    Thanks for your help.

    Update:

    I try to set the tool type and the name of the tool front of amount. This works for simple table at the highest.

    but it does not work when I drag year column heading, then sort

    Sort "type tool" (CSA)

    -Add a 2nd sort on 'name of the tool' (CSA)

    -Add 3rd sorting on "amount" (DESC) in the year 2015

    It doesn't do anything.

    2015-07-08_084632.png

    I can solve this problem by sorting tool type (1) in growing. sorting, then add a descending sort to make this work amount (2)...

    Thanks Orcl01

    In your case you keep the tool type (1) ensure that Crescent. Then add a sort descending amount (2). It will work.

    Thank you

    AJ

  • How to find the name of a column in a table

    Hi all

    I have a Table that contains approximately 100 columns.


    I need to find the column name, to find in specific columns containing data like 'abc '.

    Ex: I have a table like temp_table_name
    the columns are col1, col2, col3, col4, col5, col6, col7, col8,.... col99
    I'm looking for with data specific like 'abc '.

    Need to find the name of the table column that contains data of 'abc '.

    Please suggest me. How to find in a single query... :-)

    Actually I'm looking through a column of the table as below
    Select count (*) in the temp_table_name where col1 = 'abc '.

    FOR I IN 1.20 LOOP
    ln_num_of_rows: = 0;
    lv_column_name_search: = "col" | I have;

    lv_sql: = ' select count (*) in the temp_table_name where ' | lv_column_name_search | "= abc";

    EXECUTE IMMEDIATE lv_sql INTO ln_num_of_rows;

    IF ln_num_of_rows > 0
    -column found in lv_column_name_search
    EXIT;
    END IF;
    END LOOP;

    But I'm gettig performance problem.

    How can I do this in any other alternative way? could you suggest any way possible as soon as POSSIBLE.

    It's probably never going to be effective - realistic, you have to scan completes the picture.

    You could probably improve a little things by doing something like

    SELECT DISTINCT column_name
      FROM (
        SELECT (CASE WHEN col1 = 'abc' THEN 'col1'
                    WHEN col2 = 'abc' THEN 'col2'
                    WHEN col3 = 'abc' THEN 'col3'
                    ...
                    WHEN col20 = 'abc' THEN 'col20'
                    ELSE NULL
                    END) column_name
          FROM table_name
        WHERE col1 = 'abc'
            OR col2 = 'abc'
            ...
            OR col20 = 'abc'
      )
    

    but it's never going to be incredibly fast.

    Justin

  • ORA-01438: how to find the name of the column?

    Hello

    I'm trying to find the column which is causing ORA-01438 when inserting into a table.

    The insertion is made by a C program that reads from a socket and written in an oracle 10 g database using Oracle Pro * C.

    I tried to identify the column by printing the values (about 250) just before the insert statement is executed, but check these values has been a task heavy and error prone and did not help to correct the mistake (I found a bunch of values which out of reach, but changing these values has not resolved the issue).

    Abandon this idea, I tried to track the session to help
    (1) DBMS_SYSTEM. SET_SQL_TRACE_IN_SESSION,
    (2) DBMS_MONITOR.session_trace_enable/disable and still
    (3) change the context name system set events 10046 trace forever, level 12' and;
    (4) alter system set sql_trace = true scope = mΘmoire;

    DBMS_MONITOR.session_trace_enable only gave me a few tips (the insert statement) in a trace file. But it worked for a simple example of a test database.

    When I try to turn on tracing on the database, where the error occurs, then I'm still not able to set SQL_TRACE in V$ SESSION true, even if no error is returned by the statement "DBMS_MONITOR.session_trace_enable". The value of SQL_TRACE in V$ SESSION does not change and I have no idea why. On the test database, it works fine and I can find the trace file in the user_dump_destination directory.

    Anyone have any suggestions on how to fix this?

    Any help is appreciated.
    Thanks in advance!

    Just check this:

    SQL > conn osama/osama ;
    SQL> create table test as select * from scott.dept ;
    
    SQL> select * from test ;
    
        DEPTNO DNAME          LOC
    ---------- -------------- -------------
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    
    SQL> alter system set events='1438 trace name Errorstack forever,level 10';
    
    SQL> insert into test values (100000000000000000,'osama','JOR');
    insert into test values (100000000000000000,'osama','JOR')
                             *
    ERROR at line 1:
    ORA-01438: value larger than specified precision allowed for this column
    
    In Trace File :
    
    ORA-01438: value larger than specified precision allowed for this column
    Current SQL statement for this session:
    insert into test values (100000000000000000,'osama','JOR')
    
  • How to find the yahoo flickr Photo password used to download photos from the Photo app?

    I have 151 000 pictures on Flickr that were loaded from Iphoto, then more recently the Apple Photo app on my imac.

    I can't open a session using a browser because the browser (Chrome) has lost the password of his records.

    How to find the password that the Photo is using app?

    You can not extract the code to access from iPhoto or Photo. I could go to the Web of Flickr site and see what password recovery options they offer for your account.

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • How to find the primary key columns in the tables in MS Access using SQL queries

    How to find the primary key columns in the tables in MS Access using SQL queries

    Hello

    This is the forum for Windows Vista programs related issues.

    For better assistance, please try instead the Forums in SQL Server .

    Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • How to find the size of the downloaded image on a column of type blob in a table?

    How to find the size of the downloaded image on a column of type blob in a table?

    Vidya,

    You can use the built in function dbms_lob.getlength to get the length (size) of a LOB column or a bfile type.
    Check out this link.

    http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a96612/d_lob2.htm#1008995

  • How to find the snid? If it is removed or deleted from this sticker on the back?

    How to find the snid and sn & id of the laptop if it is removed or deleted this sticker on the back?

    My laptop is acer ferrari 1000

    Tools Information as SIW system reports the product name and serial number IF this information is stored somewhere in the computer.

    I don't know what you mean by 'id', but for example, all the following values are reported by SIW:

    Manufacturer
    Name of the product
    Version
    Serial number
    Type of machine
    Infrared (IR) supported
    DMI system UUID
    UUID

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

  • How to find the owners of icloud id?

    IM new to this thing from icloud, I bought 3 old ipads2 on a flea market, where unlocked 2 but we have icloud, the screen is not the old owner alone info [email protected], I don't have a problem, try contacting the owner, but how to find the id of owner? even if is a stolen ipad that I'll be more than returned gad, or ask the owner to remove icloud, but without the owner info is difficult, any advice will be apreciated, thanks

    You can not find it. Go back on the market and claim a refund for the iPad.

    (140442)

  • How to find the number of data items in a file written with the ArryToFile function?

    I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all

    Hello

    I start with the second question:

    bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);

    the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]

    So, obviously the number of lines in your text tiles can be determined in a loop:

    Open the file

    lines = 0;

    While (ReadLine () > 0)

    {

    lines ++;

    }

    Close the file

Maybe you are looking for