lines due to the wm_concat() in double request gorge yourself

Here's the query I need to run

SELECT the separate user interface. Index_name, UI. Owner, UI. Table_name, wm_concat (uic.column_name) on column_name (partition by order of position_colonne uic.index_name), the ui.index_type, the parameters
Of
all_IND_COLUMNS UI all_INDEXES JOIN UIC
ON UIC. INDEX_NAME = UI. INDEX_NAME
where
SUBSTR (UI.index_name, 1, 3) not IN ("PK_", 'UQ_', ' DR$ ")
and ui.index_name not like 'SYS_C00% '.
and ui.index_name not like 'SYS_IOT_TOP_ %' and owner = 'USER1 '.
control of the user interface. INDEX_NAME



The problem is wm_concat() because the all_IND_COLUMNS table contains the entry duplicated for index (index1 of the table(column1,column2,column3) type)

for this wm_concat returns the result as below:
--------------------
Column1
Column1, Column2
Column1, Column2, Column3

But in * result I don't need it for a particular name of index (separate index)

as an example, I have two indexes in schema:
index1 on table1 (column1, column2, column3) and
Index2 on table2 (column5)

This result need
Row1 - index1 Column1, Column2, Column3
Index2 column 5 row2-


my query returns
index1 Column1 row1-
row2 - index1 Column1, Column2
row3 - index1 Column1, Column2, Column3
row4 - column 5 index2

Are you trying this?

SELECT UI.INDEX_NAME,
  ui.owner ,
  UI.TABLE_NAME ,
  ui.index_type,
  parameters,
  listagg(column_name,',') within GROUP (
ORDER BY column_position) column_name
FROM all_INDEXES UI
JOIN all_IND_COLUMNS UIC
ON  ( UIC.INDEX_NAME                    = UI.INDEX_NAME
      and uic.index_owner = ui.owner)
WHERE SUBSTR(ui.index_name,1,3) NOT IN ('PK_', 'UQ_','DR$')
AND ui.index_name NOT LIKE 'SYS_C00%'
AND ui.index_name NOT LIKE 'SYS_IOT_TOP_%'
GROUP BY UI.INDEX_NAME,
  ui.owner ,
  UI.TABLE_NAME ,
  ui.index_type,
  parameters
ORDER BY UI.INDEX_NAME;

Tags: Database

Similar Questions

  • How to remove the lines that have the employee name double?

    Hello world

    Greetings

    I'm using oracle 11g.

    Suppose I have a table and I want to delete lines that have the name used twice?

    So given below is my table so I only delete lines that have more than one 'Ram' and 'Dilip' ename.

    How to do this?

    EmpID Ename salary Commission depnto
    101RAM50004531
    102RAM60007652
    103Sisi34568763
    104Dilip76566754
    105Mohan98787675
    106Dilip56469876
    107Ganesh98234557

    You can use a simple code as follows

    Delete From EMP

    Where rowid! = (select min (rowid) of the group by Ename EMP);

    For preserved older values using 'min (rowid)'

    and for the most recent values required use "max (rowid)"

    Thank you.

  • When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."

    Elevation required to route add command

    When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise."  What is the correct syntax to use?

    You can watch using the PowerShell...

    http://TechNet.Microsoft.com/en-us/library/bb978526.aspx

    http://TechNet.Microsoft.com/en-us/scriptcenter/dd742419.aspx

    .. .and post questions about Windows PowerShell forum...

    http://social.technet.Microsoft.com/forums/en/winserverpowershell/threads

  • Save the 0x8078002A error code. The request could not be performed due to the i/o device error (0x8007045D).

    I tried to backup my C folder on a hard disk extrenal and received the following message:


    OT: Backup failed Windows7 0x8078002A error Code.
    Quote
    One of the files of backup could not be created (0x8078002A). The request could not be performed due to the i/o device error (0x8007045D).
    End of quote
    Can someone advise me?
    Nitin

    Hello

    Method 1
    Check the shadow copy Volume service in the services window. Use the following steps to check:

    a. Click Start and type services.msc in the search box

    b. Locate the Volume Shadow Copy service

    Make sure that the startup type is automatic. Steps to set the auto services

    a. Locate the service

    b. right-click on the service

    c. If the service is stopped and then starts the service

    d. Select Properties

    e. and in startup type, select automatic

    Method 2
    Try the steps listed in the link below: error message when you try to perform a full backup on a Windows Vista-based computer: "the request cannot be performed because of an i/o device error":http://support.microsoft.com/kb/952272 (for Windows 7)

    Note: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

  • HP Pavilion G6 2252so closing down due to the high heat (fan was cleaned up)

    I'm trying to fix a G6 model due to heat issues. The laptop is about 1 year. From what I have read on the internet, it is mainly due to the accumulation of dust. I told the owner that this was not covered by the warranty and offered to help with the cleaning of the fan. I completely cleaned the fan (incl. Remove the fan cover) and change the thermal paste on the processor. The problem persists. With the Speccy program, I read time of departure. for CPU to 90 degrees celsius. It's very different when the laptop shuts down. Sometimes it happends fast, at other times, he can run for hours. Even if the processor is completely cold, you can stop even before windows starts correctly. I managed to see the temperatures over 150 degrees celsius which should be alarming high. Even 90 degrees seems VERY high to me. The air blown by the fan seems not hot. It is only moderately hot and adjusts it fan speed according to the temperature. He begins to rise from more than 100 degrees. 90 to 99 degrees it runs pretty slow.

    If I try to go into the BIOS, I have only seconds before the closed laptop.

    From my point of view, he owes me two temperature sensors not working not properly, or the manipulation of temperature sensors is misinterperet, or simply the cooling system which is default. I don't know how the cooling system. The seat has a cobber lead wires for the heater and the fan. The tube contains a fluid? The liquid could somehow have vapourised?

    Be warm and helping the owner canceled its guarantee, now that I've had the dismantled oidissement?

    I tried to havn't updated the BIOS, because I'm afraid I'm going to brick the laptop, if it goes out during the process.

    Where is the temperature sensor placed on the Board? Is the sencot'en CPU built in or is it place in over/under it?

    How can I help the owner more far.

    Best regards

    Frank

    @FrankH82

    Hello again. I had actually read what you have written, but included these pages although I knew you did a large part of him he was already comprehensive, but also a reference to the point in case there was something on the picture in one of the documents that you may have missed, as a task to clean. I also realized that the BIOS update has been in the process as well, but guess you wouldn't do that, according to your previous statement, and that's understandable. I have not updated the BIOS, either when the PC has tendency to overheat and stop in the process (and brick it).

    In addition, there is the part about hardware failure analyses. From what you describe, it seems to me that the fan does not work as it should and is the likely source of the problem. If the unit is running too hot that you mention and the outgoing air flow is not so hot then there isn't enough air stream passes through. If instead it turns out to be a sensor problem, which is most likely going to require a replacement of the Commission.

    I have included the Service of Guide so that you can see how disassemble the unit safely if something had been missed in your household, and also, so you should have access to the parts list, if it turns out that the material is the source of the problem, since it includes the reference numbers for various sections that are replaceable by the customer including the fan and the heat sink (, motherboard, etc.) I have also included in part to answer your question on heat sensors that you request that are not listed as replaceable parts by the discreet.

    With respect to the copper pipes, they are units normally sealed with a small amount of distilled water inside at less than the normal pressure to reduce the boiling point of water, sort of way, it is meant to vaporize to help dissipate the heat. The only reason why the liquid inside would be gone is if the seal in the hose is damaged. If this is the case then it should be replaced.

    Now at this point, other than hardware problems as possible, as the system of cooling or the motherboard, which might need replacement, you can also look at the possibility of a cooling plate to increase the airflow. I myself for one of my laptops that I have left my son to use. He was very helpful while working in a warmer room in summer. It could be a quick thing to try so to make reliable unit until the likely hardware problem is resolved.

    Finally if you don't find that it is the material that needs to be replaced you should try calling the technical support to the 800-474-6836 line. If you do not live in the United States / Canada region, please click the link below to get help from your region number. http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    I hope this helps.

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). I can't understand how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). Whenever I try to use a tool, a blue box appears around the line and I have to double click on it to handle, which opens just this line in a screen finery semi where all other objects are semi-gris in the background. I can handle this line in this screen, but nothing else at this point I could do 5 minutes ago. For example, I can no longer reach the 2 lines drawn by the tool online together. For some reason, it started randomly (probably due to an accidental combination) and I just can't put it to what it was. I inserted a video showing if all goes well I mean. Any help would be appreciated.

    Object drawing mode. Simply disable it in the tools Panel, or by using the default keyboard shortcut, which is J.

  • Satellite P30 - three vertical lines appeared on the screen

    I have a problem with the display on my p30 110 three vertical lines appeared on the screen, the pc has been scanned with three different antivirus programs and seems to be clean any suggestions would be helpful

    Hello

    These problems usually occur due to a malfunction of the equipment.
    But have you tried to update the graphics driver. If this isn't the case, so I recommend to do.
    The update may solve some problems.

    However, if vertical lines persists then you should ask Toshiba service for assistance.
    He must check the laptop.

  • When the value to display in the time format double digital indicator... Changes in value.

    Hi all

    I can't display the values that I want. I have a value double say 320 sent to a digital indicator where I edited the properties of it to display in a time format that contains only minutes and seconds as Yes, 3:20 '. Unfortunately, it takes the value and change it to another value and display that. I don't know what is the issue. If anyone knows the solution... Please post!

    There is an image attatched!

    Thank you.

    I believe only then due to the fact that when I convert a timestamp value to double as 03:20, he gave me 320. So I thought that the reverse can be trying. Should I just enter the total amount of seconds and that will show the Minuteseconds I want?

    Thanks for the quick response.

  • Windows Update could not be installed due to the error 2149842967 (KB958559-x 86.msu)

    Hello
    I am trying to install Windows Virtual PC and Windows XP mode on my computer toshiba laptop. The compatibility tool h/w PC said that my PC is h/w support, assisted virtualization (BIOS and processor support for virtualization extensions).

    I installed Windows XP Mode.

    I am trying to install Windows Virtual PC on my Tablet RTM of Windows 7 Enterprise Edition 32 bit and it fails with below:
    Windows Update could not be installed due to the error 2149842967 "' (command line:""C:\WINDOWS\system32\wusa.exe" "C:\Users\vishalt\Downloads\Windows6.1-KB958559-x86.msu" ")

    I tried several options suggested as
    (a) restarts - did not work
    (b) netstop wuauserv, wicks, rename the softwaredistributionfolder, netstart these services (the two) and try windows complete update - windows update has started but I still couldn't install the KB958559
    (c) try cmdprompt in a high of UAC cmd window.

    I was wondering if there is something else that needs to be done to install this package KB.

    Thanks in advance
    Vishal-

    ... The link for Windows Module game and the registry size limit could not be tried because the links on these threads do not seem to work.

    I know. You will see that I asked a moderator to post a valid link for this thread.

    Have you seen http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/61e16760-a500-481e-a90c-9b933f0fced8 ?

    I'll keep you posted if I hear anything new. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • The game I play is Combat arms, I gave it through the firewall but I still have to allow him, and in the end, the combat arms stops responding and closes due to the DEP. I have it enabled on DEP. Please help me.

    The game I play is Combat arms, I gave it through the firewall but I still have to allow him, and in the end, the combat arms stops responding and closes due to the DEP (Data Execution Prevention). I leave on the DEP list. Please help me.

    Hi Brainiac107,

    1 when was the last time it was working fine?

    2. did you of recent changes on the computer?

    Method 1

    Check and make sure that you have followed the method to allow the game through the protection of execution of data (DEP) below.

    "" "" "a) departure ' Run ' sysdm.cpl ' click 'Advance' tab" now click on 'Settings' running ' then click on the "Data Execution Prevention" tab

    (b) now click on the "turn on DEP for all programs and Services except those I select:

    (c) then click add and go to and select C:\Nexon\Combat Arms\engine.exe

    (d) now, click Ok then apply.

    (e) restart the computer.

    Change Data Execution Prevention settings

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-data-execution-prevention-settings

    Change Data Execution Prevention settings

    http://Windows.Microsoft.com/en-us/Windows7/change-data-execution-prevention-settings

    Method 2

    If the previous step fails, then try to run the game with administrator privileges and check if it works.

    (a) right to the shortcut from the game or if you try to install the game, right click on the game setup.

    (b) click on run as administrator.

    Method 3

    If you're still having problems with the game then post your request in the forums of game seller.

    http://Forum.NEXON.NET/CombatArms/forums/8624/ShowForum.aspx?PageIndex=2&SB=0&d=1&DF=11

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The application's command line arguments get the path to the file in windows Explorer

    Hello

    I am trying to open a file with my labview application .exe, so I thought that windows was sending the file path double clicked in Explorer solutions in the form of argument, but all I get is the name of my exe file.

    Does anyone know how to set up windows or the application to get the double click path from the Explorer, which has the file extension has already been associated with my exe?

    Thank you!

    I'm not sure I understand, but I think you want your Labview program to open another file, as a file of perimeter?

    Have three basic choices.

    Hardcode the path with file name in your program http://zone.ni.com/reference/en-XX/help/371361K-01/glang/path_constant/

    Use the file open vi and for the user to select the file to open http://zone.ni.com/reference/en-XX/help/371361J-01/glang/file_dialog/

    Write your program to accept a http://digital.ni.com/public.nsf/allkb/17C3AD70493CE0208625666A00763364 command line argument

  • Avoid writing empty lines or remove the empty string between data lines

    Hello

    I have this problem...  I write as a 4 x 4 witch table comes from a graph of intensity in a file. But when I write, regardless of the method that I use out it somehow unusable when I try to read more later.

    Right now I got change for a 1 x 16 table witch I later convert back to 4 x 4 again shown in the graph of the intensity.

    The problem is that I have empty lines between the data I want to remove to display correctly.

    Maybe to be clear in my explanation I will post screenshots of how I write and how I like to read...

    Can someone help me?

    Thank you!

    Antonio

    Why do you use a loop to create a string to write to the file? In LabVIEW 8.x writing on a spreadsheet file is polymorphic, so you can select the instance of 'Double' and simply connect your table 2D directly to it, without a loop or anything like that. On playback, even select the instance 'Double' for your return values exactly as you wrote them.

  • Create an instance of the component with CLSID {0002DF01-0000-0000-C000-000000000046} COM IClassFactory failed due to the following error: 80004005.

    I have IE 9 installed on my machine. When I try to create objects of IE using SHDocVw. Its version is 6.1.7601.17514. When I run my windows service it runs fine but when I create an installer and then run, it displays the error message: creating an instance of the component with CLSID {0002DF01-0000-0000-C000-000000000046} COM IClassFactory failed due to the following error: 80004005.

    IE = new SHDocVw.InternetExplorer ();
    IE = new SHDocVw.InternetExplorer (true);

    I tried the two lines.

    Please give me a solution.

    Hi Patrick,

    The problem you are having is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the MSDN forums.

    Please post your question in the MSDN Forums.

    You can follow this link to ask your question:

    http://msdn.Microsoft.com/en-us/library/aa752084%28V=vs.85%29.aspx

    I hope this helps. If you have problems of Windows in the future, let us know and we would be happy to help you.

  • Could not parse the file to start. Error on line 15. at the start of Transformation XSLT generator

    I am running PeopleTools 8.55 but when I try to run XSLT Transformation Builder I get error not able to analyze the startup file. Error on line 15...

    What is the problem?

    the solution is to edit the jnlp file locally:

    glance to the argument of the tag:

    http://myhost.net:8500/PSIGW/HttpListeningConnector? = GETXSLT operation &program = CUST_V1. PRINCIPAL. V2TOV1

    the problem is that this parameter is incorrect XML... due to the &, replace by the following text and you will not have the error:

    http://myhost.net:8500/PSIGW/HttpListeningConnector? = GETXSLT operation &program = CUST_V1. PRINCIPAL. V2TOV1

  • Tabular and automated form line Fetch/Automated line treatment on the same page

    I seem to have a problem with this and wanted to know if it's possible.

    I have an automated extraction to catch my primary master file... It works very well.

    Then I have a tabular presentation on the page of a form under... This also works very well

    I added a "Treatment of automatic line" procedure for updating my changes with the header, and I can't get this fire.

    DML settings on this procedure fits my parameters during extraction of automated lines.

    When I try to run the procedure (I took out all the conditions on the condition tab) nothing happens

    I ran debug in the page and that's what shows

    Jump as integrated type process condition evaluates to FALSE.

    If it is not supported and I have to write a pl/sql CRUD proc?

    Thank you

    Scott

    Scott H. wrote:

    I seem to have a problem with this and wanted to know if it's possible.

    I have an automated extraction to catch my primary master file... It works very well.

    Then I have a tabular presentation on the page of a form under... This also works very well

    I added a "Treatment of automatic line" procedure for updating my changes with the header, and I can't get this fire.

    DML settings on this procedure fits my parameters during extraction of automated lines.

    When I try to run the procedure (I took out all the conditions on the condition tab) nothing happens

    I ran debug in the page and that's what shows

    Jump as integrated type process condition evaluates to FALSE.

    If it is not supported and I have to write a pl/sql CRUD proc?

    N ° see online help for the property management operations on the ARP:

    Supported operations

    Check what operations data manipulation language (DML) are supported. This process of data manipulation will perform DML when the value of the claim is one of the values listed. When you use a button to send this page, the value of the claim is defined by the button.

    Available options include:

    Insert

    Triggered by the values of request: INSERT, CREATE, CREATE_AGAIN, CREATEAGAIN

    Update

    Triggered by the values of request: SAVE, APPLY the CHANGES, UPDATE, UPDATE, MODIFY, APPLY, APPLY LINE of CHANGES %, GET_NEXT %, GET_PREV %

    Delete

    Triggered by the values of request: DELETE, DELETE, DELETE the LINE, drop

    The name property of the button (i.e. the value REQUEST) send your buttons on page must match the values required by the relevant processing DML in the ARP request.

Maybe you are looking for