How to verify columns that made up an index

hello,
the SQL statement:
select index_name,index_type,table_name,table_owner from dba_indexes where table_name=&table_name ; gives you indexes built on the table name.
But how can I find out ( sql statement) columns that made up an index?
thanks

The columns which make up an index can be queried from DBA_IND_COLUMNS.
For example:
select column_name from dba_ind_columns
where index_name = '<your-index-name>'
order by column_position;
The Oracle Data Dictionary is HUGE. When I'm looking for something and can't immediately recall the exact name of the view I need, I query DICT and get Oracle to give me a list of the likely views I need:
For example:
select table_name from dict where table_name like '%COLUMN%';
All the best,
SF.

Similar Messages

  • How to make column that include currency and value

    Hi, all
    In the standerd form,  there is a column that include currency and value.
    For example sales order.
    And it have to column in the DB table.
    Can I make same column to use SDK.
    And how can I make it.
    Best Regards

    Hi,
    I tried this and somewhat achieved this.
    Bind the required col to a UserData Source as text type, and once u enter the cost or the price concatinate the entered price with the selected currency.
    But this col cannot have the same functionality and validations of SAP.
    Award points if helpful.
    Regards,
    Vasu Natari.

  • How to hide columns that are getting added dynamically to UI Element 'Table

    In SRM 7.0 while displaying a RFx, click on "responses and awards" button.
    In the response comparision tab once the user selects response number and clicks on "compare all responses".
    Item details table is displayed with fields item number,internal number,item description,........,Price etc.
    Requirement is  to hide the price column from the table.
    The UI element type is 'Table'.
    But the catch is there is no column price visible at layout design level.
    This field is getting added dynamically at run time.
    When i right click and see the 'more field help' at the front end i get the field id as 'GRP_1_COL_3_TXTV'.
    lo_table ?= view->get_element( id = 'ITEMS_TABLE' ).
    lo_column = lo_table->get_column( id = 'GRP_1_COL_3_TXTV').
    ASSERT lo_column IS NOT INITIAL.
    lo_column->set_visible( EXPORTING value = '01' ).
    I had written the above code in the pre-exit of WDDOMODIFYVIEW.
    But i am getting dump as assertion failed.it says no column by name 'GRP_1_COL_3_TXTV'.
    Please help me inhow to hide fields or buttons getting generated dynmically.
    Regards,
    Venkat Raghavan.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • How to find out the table column that is required for index

    hi all,
    i want to the column required for index in one schema.
    what are the ways to achieve the same.

    To know what columns to index you must, not should, but must, know your data, know how it will be used, and know how your WHERE clause filters will affect how the data is accessed.
    Building indexes based on some rule is a waste of CPU, disk i/o, and space.
    To build indexes that enhance rather than degrade a system requires research and the use of explain plan reports generated with DBMS_XPLAN.
    http://www.morganslibrary.org/library.html

  • How to cache columns that are dashboard prompts?

    Hi,
    I have a few columns in a table that are defined as dashboard prompts. The values in a particular column in the dashboard prompt are constrained based on the value selected in the previous dashboard prompt. Once a user logs in he/she can see only the data based on his role.
    How do I cache the dashboard prompt table (columns of which are defined as dashboard prompts) and the security table (which determines the user's role and finally determines the data level security) so the user does not have to wait too long for the landing page to show up once he logs in.
    Thanks for inputs.
    Edited by: user613817 on Oct 22, 2008 11:16 AM

    Here is how you seed the cache:
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1_16.html
    regards John
    http://obiee101.blogspot.com

  • How to find columns that do not match

    I am working on search requirement. Requirement is to search for a person. Search criteria is first name, last name and birth date. In case, when no results (i.e. result count is zero) are found, error should indicate which field or fields didnt match. E.g. first name didnt match, first name & last name didnt match etc.
    Is there any support at SQL level to help me identify the exact error scenario? Have you worked on similar requirement in the past? Even if you have any ideas, please share.
    Thanks in advance.
    Regards
    Madhav

    Hi,
    Everything depends on format of matching report.
    Below you have query which present records applying to at least one criteria with explanation
    Table person:
    FNAME      LNAME      DT
    Johnny     Mnemonic   01-FEB-03
    Johnny     Mnemonic   01-FEB-08
    Johnny     Cash       01-FEB-08
    Tom        Cash       01-FEB-08We are looking for Johnny Mnemonic born on 1st of February 2003:
    select fname, lname, dt,
      case when fname='Johnny' then '*' else '-' end
    ||case when lname='Mnemonic' then '*' else '-' end
    ||case when dt=to_date('01-02-2003', 'dd-mm-yyyy') then '*' else '-' end match
    from person
    where fname='Johnny'
       or lname = 'Mnemonic'
       or dt = to_date('01-02-2003', 'dd-mm-yyyy');
    FNAME      LNAME      DT        MAT
    Johnny     Mnemonic   01-FEB-03 ***
    Johnny     Mnemonic   01-FEB-08 **-
    Johnny     Cash       01-FEB-08 *--Bartek

  • Fife days App Store not give it to me the verify code, I made I lot email adress, changed and create the new, still the same problem, and this is second one iPad that I bought this month, if not help me I don't know how to deal, thank you in advance

    Fife days App Store not give it to me the verify code, I made I lot email adress, changed and created the new, still the same problem, and this is second  iPad that I bought this month, if not help me I don't know how to deal, thank you in advance, maybe I will go to shop and want my money back

    Do you have a technical question for us volunteer users?

  • How can i indicate that the table columns have different size?

    How can i indicate that the table columns have different size?
    It is because i have a table that has several columns....but i would like to have the possibility to indicate the size for every column....could somebody help me please?
    Thanks,
    Mary

    Hi,
    don't know as much as I should about JTable, but it seems that using yourTable.getDefaultRenderer() could help you: if I clearly understood the javadoc notes, it returns an object inheriting from JLabel, so you should be able to use setHorizontalAlignment(int align) on it... no time to verify this, but I'd be thankfull if you tell me the results !!!
    Regards

  • So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. Can someone help me?

    So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. I am getting quite annoyed because apples hours arent the best fitted to my scedule since I have school and work, so I cant call and ask how to get fixed. Please help me all I want to do is buy some music...

    Click here and fill out the form.
    (90729)

  • I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

    I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

    I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

  • I put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    i put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • How to read the data from a column that is in clob data type (but XMLdata)

    Hi ,
    I have a table XYZ which has a column RESPONSE_XML in clob datatype format.we can convert it to XMLTYPE(RESPONSE_XML) to read the data in XML format.
    Now this is the DynamicXML schema file. Here I want to see all the COMMONNAME, ResourceDescribedby_VALUE into column_A, ResourceDescribedby_ResourceSpecCharacteristic_Name tags into column_B
    How can I do that .. any suggestions please ..
    Here is a sample XML:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    _- <soap:Body>
    - <SearchResourceResponse xmlns="http://www.google.com/google.xsd">
    - <MessageElements xmlns:tns="http://www.www.google.com/google.xsd" xmlns="">
    <MessageStatus>SUCCESS</MessageStatus>
    - <MessageAddressing>
    <from>gmail</from>
    <to>Gmail SOAPTester</to>
    <messageId>1234</messageId>
    <action>SearchResource</action>
    <transactionId>OR</transactionId>
    <ServiceName>SearchResource</ServiceName>
    <ServiceVersion>1.1</ServiceVersion>
    </MessageAddressing>
    </MessageElements>
    -<SearchResponseDetails xmlns:tns="http://www.www.google.com/google.xsd" xmlns="">
    - <SubNetwork>
    - <Pipe xsi:type="icl:Trail" xmlns:icl="http://www.www.google.com/google.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <CommonName>318-223-4675</CommonName>
    <objectID>91535716980514105329</objectID>
    <SourceSystem>MARS</SourceSystem>
    - *<ResourceDescribedBy> <value>RDSSLA</value>* *<ResourceSpecCharacteristic> <name>*CentralOfficeCode</name>   </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceRelationship>
    - <Resource xsi:type="icl:Trail">
    - <ResourceDescribedBy> <value>001</value> - <ResourceSpecCharacteristic> <name>AssignLocationExternalFormat</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceDescribedBy> <value>001</value> - <ResourceSpecCharacteristic> <name>PairVerticalExternalFormat</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceDescribedBy> <value>001</value> - <ResourceSpecCharacteristic> <name>PairVerticalInternalFormat</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceDescribedBy> <value>+</value> - <ResourceSpecCharacteristic> <name>PairVerticalSign</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceDescribedBy> <value>RDSSLA</value> - <ResourceSpecCharacteristic> <name>CentralOfficeCode</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceDescribedBy> <value>B</value>- <ResourceSpecCharacteristic> <name>EntityType</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    - <ResourceType>FeederCircuit</ResourceType>
    - <LogicalPhysicalResource>
    - <PhysicalResource xsi:type="icl:PhysicalConnector">
    <usageState>S</usageState>
    - <ResourceDescribedBy> <value>25.392</value> - <ResourceSpecCharacteristic> <name>CableLength</name> </ResourceSpecCharacteristic>
    </ResourceDescribedBy>
    </PhysicalResource>
    </LogicalPhysicalResource>
    - <TerminationPoint xsi:type="icl:TrailTerminationPoint">
    <CommonName>1000/34A</CommonName>
    - </Resource>
    </ResourceRelationship>
    <lrStatus>W</lrStatus>
    </Pipe>
    </SubNetwork>
    </SearchResponseDetails>

    you don't appear to have posted valid XML, so I can't reproduce using your example, but you will need to look at something like this:
    select xtab.common_name
      from your_table yt
          ,xmltable('/SearchResourceResponse'
              passing xmltype(yt.response_xml)
              columns
                  common_name varchar2(20) path 'SearchResponseDetails/CommonName'
          ) xtab
    ;

  • HT204406 Some of my songs didn't transfer to my cloud.  How do I put these songs on my iphone so that I can listen to them in addition to the songs that made it to my cloud?

    Some of my songs didn't transfer to my cloud.  How do I put these songs on my iphone so that I can listen to them in addition to the songs that made it to my cloud?
    Right now, I can't transfer songs from my laptop to my iPhone unless I turn off iTunes Match 1st.  Once the songs are on there, I turn iTunes Match back on, but then the songs that I just transferred over dissapear...
    Please help!

    I'm having the same problem, some of my songs will transfer but not all of them. It seems there are alot of people having this problem and apparently Apple doesn't know how to fix it. All my songs were purchased through itunes so they all should upload to any apple device. Sorry I'm not any help, maybe Apple can finally do something about it.

  • What is Veritas HA, and How to verify that Veritas HA system is "lights on"

    Hi, Friends:
    I have two questions,
    1.What is Veritas HA?
    2.How to verify that Veritas HA system is "lights on"?
    thank you very much,
    Jerry

    Veritas HA = Veritas High Availability.
    http://www.google.com/search?q=veritas+HA&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • In my library, under the Artist column only...items are not listed in alpha order.  How can I get that to happen?

    In my library, under the Artist column only...items are not listed in alpha order.  How can I get that to happen?

    Same deal as your other thread but with Artist/Sort Artist:
    https://discussions.apple.com/message/25561674#25561674
    For more info. on how iTunes organizes things see Grouping tracks into albums.
    tt2

Maybe you are looking for