How to check the index, on the number of columns in the table is created

How to check on the number of columns in the table the index has been created. ??

OR

How check index, on the number of columns in the table that it is been created?

890306 wrote:
How to check on the number of columns in the table the index has been created. ??

>

OR

How check index, on the number of columns in the table that it is been created?

query USER_IND_COLUMNS

SQL> desc user_ind_columns
 Name                            Null?    Type
 ----------------------------------------- -------- ----------------------------
 INDEX_NAME                             VARCHAR2(30)
 TABLE_NAME                             VARCHAR2(30)
 COLUMN_NAME                             VARCHAR2(4000)
 COLUMN_POSITION                        NUMBER
 COLUMN_LENGTH                             NUMBER
 CHAR_LENGTH                             NUMBER
 DESCEND                             VARCHAR2(4)

Handle: 890306
Status level: Beginner
Join date: October 8, 2011
Messages total: 13
Total Questions: 5 (5 open)

Why all the question still pending?

Published by: sb92075 on December 3, 2011 17:21

Tags: Database

Similar Questions

  • 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.

  • 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 check the database is created in the database of node 2 RAC

    Hi all

    Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
    virtual box (Windows 7)

    2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
    11.2.0.3 software grid & database.
    One of DB name is demo
    Node1 (demo1)
    Node2 (demo2)


    1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.

    I am able to use view state using crsctl (see the log)

    2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.

    I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.

    Yes, question
    1: is the database created?
    2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
    ???? What? What oracle server trying to connect?
    3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?

    Please advise!

    Thank you very much!




    [grid@demo1 ~] $ crsctl stat res t
    --------------------------------------------------------------------------------
    TARGET STATE SERVER STATE_DETAILS NAME
    --------------------------------------------------------------------------------
    Local resources
    --------------------------------------------------------------------------------
    ORA. DATA.dg
    Demo1 ONLINE
    Demo2 online
    ORA. LISTENER.lsnr
    Demo1 ONLINE
    Demo2 online
    ORA.asm
    Demo1 Started online
    Demo2 Started ONLINE
    ORA. GSD
    In offline mode offline demo1
    Demo2 offline offline
    ORA.net1.Network
    Demo1 ONLINE
    Demo2 online
    ORA.ons
    Demo1 ONLINE
    Demo2 online
    --------------------------------------------------------------------------------
    Cluster resources
    --------------------------------------------------------------------------------
    ORA. LISTENER_SCAN1. LSNR
    1 demo1 ONLINE
    ORA.demo1.VIP
    1 demo1 ONLINE
    ORA.demo2.VIP
    1 demo2 online
    ORA. CVU
    1 demo1 ONLINE
    ORA. OC4J
    1 demo1 ONLINE
    ORA.scan1.VIP
    1 demo1 ONLINE

    Published by: 969880 on November 13, 2012 14:18

    1. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
    2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
    3. you must use:

    srvctl start database -d demo
    

    This should start all database instances.

    But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.

  • 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 (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

  • I need to know how to check the serial number of the product on the installed machine?

    I need to know how to check the serial number of the product on the installed machine?

    You can go to Adobe.com and connect to the Adobe ID used to register the program.

    The serial number would be listed under Manage account > Products & Plans

  • How to check the number of colors in the file?

    How to check the number of colors in the AI file?

    :-)

    Redefine the tool will list all the colors used in a document and the context menu in the swatches Panel also provides tools for color management.

    Mylenium

  • How to check the amount/number of issued on the database DDL operations

    Hello

    Can someone please clear some doubts.

    1. How can we check the number of DDL operations on the database

    2. how we check the amount of growth in the size of the database.

    3. How can we check the growth of a single table.

    Concerning
    Amith

    Select startup_time "Startup."
    MySQL 'Transactions. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) "Avg per day."
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 24 ' Avg / hour. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 1440 "Avg / min.
    v $ sysstat, instance $v
    WHERE name in (a "user is committed," restores user)
    Startup_time group;

  • How to check the manufacturing date of the Z2?

    Hello, so the title sums up pretty much everything this. On the previous xperia phones, you can check under the battery, with xperia Z, that it was written on the back at the bottom but on Z2? How to check the date of manufacture?

    Hello and welcome to the community! Since you are new, please make sure that you have checked our Forum.

    This label can be found in the MicroSD slot, click on the following link:
    http://Userguide.sonymobile.com/referrer.php?region=en&product=Xperia-Z2#IMEI-number.html

  • How to check the manufacturing date of the Z3 Compact?

    How to check the manufacturing date of the Z3 Compact?

    @HerrOdin

    Simple, pull on the flap of the IMEI and search for 14W__

    The first 2 digits are for the year and the last 2 digits are the week

    http://support.sonymobile.com/global-en/xperiaz3compact/Userguide/IMEI-number/

  • How to check the type of memory installed (ECC or not)?

    all!

    I have some servers Dell PowerEdge R420 and I want to upgrade memory, install more...

    How to check the type of memory installed (ECC or not)?

    Dmidecode output here:

    Drive.google.com/.../View

    Hello.

    Unfortunately, we are not able to open the link you have provided. You can display information about your memory on the web iDRAC under hardware and memory interface. You see the type of error correction (ECC or Non ECC) within the information memory page. You can also view the same information on OpenManage Server Administrator and even make use of the memory part number to find out more information.

  • 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 date valid?

    Hello

    I have a stored procedure that has a parameter of type varchar data entry. This parameter is actually a date, now I want to check whether this parameter is a valid date. My version of oracle's 10g. I tried ISDATE() built-in but my version of oracle does not support.

    Can ppl help please how?

    Concerning

    Frébault

    Hello Marie Lise.
    Here is the code example that you can do to check the Date. Create a function for this, hope this helps

    CREATE OR REPLACE FUNCTION F_DATE(v_date IN VARCHAR2) RETURN NUMBER IS
        v_date1 DATE;
    BEGIN
        select to_date(v_date) into v_date1 from dual;
            RETURN 1;
        Exception WHEN Others THEN
            RETURN 0;
    END;
    ----------------------------------------------
    SELECT F_DATE('01-JAN-09') FROM DUAL;
    -- Returns 1
    SELECT F_DATE('111111') FROM DUAL;
    -- Returns 0
    

    Please indicate if it helps you or correct
    Kind regards
    Danish

  • How to check the oracle forms?

    Dear friends,

    OS: RHEL AS 3
    DB: 9i R2
    Forms: Developer 6
    pc clients: Windows XP sp2
    Forms Server: novell 4.8

    How to check the oracle forms? for example, we have developed the forms using Developer 6. We would like to know which user accesses the number 152 of the form or the form name hrform.fmx
    Because, every time make us changes in the forms we need more fmx if the user accesses this form so we can not crush him in our novell server.
    Usually, we use a windows scheduler in the night to copy forms. so, if we know the user who has not disconnected from our system. the next day, we ask the user.

    Thank you

    Take a look at

    sys. DBMS_APPLICATION_INFO.set_module

    and

    sys. DBMS_APPLICATION_INFO.set_client_info

    and call these package with good info in each of your form in for example the trigger a TIME NEW FORM INSTANCE...

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

Maybe you are looking for

  • Increase font size in tools/options/content of breaks some Web pages.

    After that I bought a flat screen with 1920 x 1080 resolution, the text was so low on most of the pages that I couldn't read. (Fonts currently fashionable 'Cannes squiggles' product does not help either.) Thus, under the menu Tools/options/content of

  • HP XW6600 workstation: Question to replace ram on HP XW6600 workstation

    Hello, recently my third dimm (it was 1 gb) stop working and now I have to replace it with a new one. My current setup on the Rams was 4 fb-DIMM 1 GB each and my question is: can I replace the non-working with a ram ddr2 single memory ram or I want o

  • error: "security settings on the computer is not not to the requirements of the network.

    Original title: wireless network problem I have an error message "security settings on the computer is not not to the requirements of the network.

  • cost of electricity

    I use my printer for a caravan club, printing envelopes, forms, leaflets etc.  What I want to know is how much electricity my officejet 6700 consumes during printing. I print as much as possible about the project to save the ink.  I print on 150-200

  • Approximately X 220 question drivers...

    OK, I wasn't in the Lenovo bloatware, so I installed a clean copy of Win 7 x 64 and used the activation code supplied with this laptop and everything seems to work well in this regard.  I wanted just a clean install of Windows where I decide what eve