How to select ID into one line seperated by delimiter ','

Hi,
I have two tables, PROJECT and BUGS. One project has some bugs. I want to realize this,
PROJECT BUGS
2202 5853973,5853997,5856329
I wrote this PLSQL,
select b.PROJECT_ID, SYS_CONNECT_BY_PATH(b.BUG_ID, ',')
from BUGS b
where PROJECT_ID=2202
CONNECT BY PRIOR b.BUG_ID = b.PROJECT_ID
and following is the result,
2202 ,5853973
2202 ,5853997
2202 ,5856329
I need your help.
Best regards and thank you,
Qiang.

This...?
sql>select * from bugs;
BUG PROJECT 
586523  2202 
586789  2202 
585789  2202 
sql>
select project, ltrim(max(sys_connect_by_path(bug,',')),',') bugs
from (select bug,project,row_number() over (order by bug) n
     from bugs
     where project = 2202)
group by project
start with n = 1
connect by prior n = n-1;
PROJECT BUGS 
2202  585789,586523,586789
Message was edited by:
        jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Radio button and select option in one line

    Hi,
    I have an requirement in which i need to display the radio button and select option in one line in an report program.
    How can i do it? 
    Regards,
    Arun.

    Hi,
    Try this code.
    TABLES: bkpf.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: p_r1 RADIOBUTTON GROUP a.
    SELECTION-SCREEN COMMENT 4(20) text-001 FOR FIELD p_r1.
    SELECTION-SCREEN COMMENT 30(12) text-002 FOR FIELD p_date.
    SELECTION-SCREEN POSITION 39.
    SELECT-OPTIONS: p_date FOR bkpf-budat OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: p_r2 RADIOBUTTON GROUP a.
    text-001 = " Radio button"
    text-002 = "Posting date"

  • How to select more than one slide on Keynote?

    Please, someone knows how to select more than one slide on keynote for IPad?

    // Allow selection to span one contiguous set of rows, visible columns, or block of cells
    table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
    // Allow multiple selections of rows, visible columns, or cell blocks
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

  • How to select more than one row in a JTable swing adf adf?

    how to select more than one row in a JTable swing adf adf?

    // Allow selection to span one contiguous set of rows, visible columns, or block of cells
    table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
    // Allow multiple selections of rows, visible columns, or cell blocks
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

  • I have two ids on my computer and iphone syncing on both how do i merge into one without losing my paid for products or personal photos etc?

    on my computer and iphone syncing on both how do i merge into one without losing my paid for products or personal photos etc?

    This MIGHT help  https://discussions.apple.com/message/16386033#16386033

  • How to download data into one cell of excel in different lines

    Hi All,
    My Report downloads data from R/3 to excel. Now one particular field contains multiple lines, which i needs to download into different lines into that particular cell(of excel). how can i do this.
    I found one method for this and that is cl_abap_char_utilities=>newline.But this is in abap version 6.0.
    But i am working in version 4.6c. do we have any method or anything that meets my requirement in 4.6c.
    Please let me know.
    Thanx in Advance
    Subhani.

    why do you split them to the internal table ,then download it?
    Is you special field long text?
    If is ,you can use FM READ_TEXT to put it into an internal table ,then download it.

  • How to adjust splitted lines into one line in Text file?

    Hi Guys,
    I have a text file with 3 fields(comma separated): GLCode (Number), Desc1 (Char), Desc2(Char) and need to load it into BW.
    My Text file looks like:
    1011.00,"Mejor PC Infrastructure","This line is ok."
    1012.00,"Telephone Equipment $","This line ends in next line.   
    1)Need to change the equipment immediately.
    2)Take immediate action"
    1013.00,"V1 Computer Server Infrastructure # Equip","For purchases
    of components that make up the company's network, such as servers, hubs, routers etc."
    1014.00,"Flash Drive","Need to provide all IT Developer"
    This is how file looks like. Now I need the followings:
    1. Need to remove the space and need to adjust the splitted line into one. Say here
    line/record 2 is splitted into 3 lines and need to adjust in 1 line.
    2. In Line 5 (Record 3) data splitted into 2 lines and need to make 1 line.
    3. Need to remove bad characters.
    Could someone help me please how to proceed ?
    Regards,

    Not quite correct by my testing.  Try:
    $i=0
    Get-Content .\test.txt | ForEach {
    If ($i%2){
    ("$Keep $($_)").Trim()
    }Else{
    $keep=$_
    }$i++
    Good catch!
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • How to put selected videos into one place (File)

    How to put selected videos into a File so I can only show on TV the videos in that file

    YYou have to describe your issue in more detail. Are you using iTunes? Trying to see it in Apple TV, etc, etc.

  • How to auto divide a one-line string into several rows in jsf?

    <h:outputText value="#{msgs.aim}"     styleClass="content_text_darkblue"></h:outputText>
    for example, the #{msgs.aim} will be a long string that one line cannot output. how can i make it auto-break according to the row length instead of show a horizontal scrollbar?
    in raw html code, i know i can include the content inside a <p> tag. but in jsf, i found it impossible to do in this way, although i tried to use <f:verbatim> tag
    can any1 give me some idea about this?

    Hello,
    Why not <h:inputTextarea> ? It makes this automatically for you and you can user readonly="true" to render it as a fictive outputTextarea...
    See example:
    <h:inputTextarea value="#MyBean.description}" rendered="true" required="false" rows="20" cols="80" id="description" readonly="true" />
    Hope you agree.
    sunjavero

  • How do insert files into one song in Auditions?

    I have six edited music files and I want to place them all into one file to run in PowerPoint. How do I do that? Thanks.

    In Multitrack view, you have to place the files on the timeline, and then do the mixdown. In Waveform view, you can select them all at once, but I wouldn't - there's no guarantee that they'd be placed in the order you selected them. The safe way to do it is to open the first file, move the cursor to the end of it, and then Open>Append the next one. With only six files, that's not exactly an onerous task. The only other thing you might want to do between each file (depending upon how they were made) is to insert a little silence between each one, but that's easy to do after they're assembled in a line. It's easier to do that in Multitrack though, just by sliding the files along the timeline, adjusting the gaps to be whatever you need them to be. In the mixdown, the gaps will be identical.

  • Consolidating multiple lines in a requisition into one line item on a PO

    I am using project builder in sap, one requisition is creating for all activities on the project. The requisition of cable is spread over multiple activities. ie activity 1 may have 200m of cable (req item 10), activity 2 may have 400m of cable (req item 20). When the purchase order is created I would line line 10 and 20 consolidated on the PO so there is 1 line for 600m of cable.  How is this possible.

    You can consodilate Purchase requisitions lines into one PO. When you create PO just input Purchase requisition no along with line item and qty in PO item detail for PO first line item. It will close multiple lines in Pr's with one PO line item.
    First create PO referring PR and then in PO item detail you can see purchase requisition and line item there you input second pr with line item and qty.

  • How combine book cds into one fi

    I use my zen primarily for audio books. When I rip them from cds, and upload them to my zen, it shows each cd as a separate album. Long books will show up as 5-20 separate albums. This is a pain when I have 0 books on my player -- I have to scroll through so many "albums" to find the one I want to play.
    When I download books from the net, they combine and show up on the zen as one album, so they are much easier to deal with.
    I have tried changing the ripping software settings -- trying various combinations of file names and playlist names, but nothing seems to work.
    Does anyone have a method of ripping multiple cds and having them show up on a zen's"albums" file as one album?
    thanks.

    I tried the playlist idea, but on my zen "albums" it still showed one album per disc, rather than combining them into one "album" , and within "playlist" it only brings up one cd's tracks.
    The second idea, changing the album name using properties:? if I change to one single album name, then the tracks are all mixed up - track from disc - track from disc 2 - track from disc 3, etc.
    I thought if I used the same album name, but tried to play around with the track name, maybe I could get the sequence right. That is, if I could get the track name to include the disc # first, then the track number, they would line up correctly:? 0 0, 0 02, 0 03. (with?the first?number?being the disc #, and the second # being the track #.).
    If I could do that, then all the tracks would have the same album name so there would only be one listing in "albums".
    All the tracks from all the discs would show up in that single album listing, but the software used on the?zen would arrange the tracks first by disc # then by track # -- in the correct order to play them all.
    The track names are created when you rip the cds -- and I think I have tried all the various combinations, but cannot get the software to create the right "track name" to make this work.
    Does anyone have any idea how to do that within the ripping software?

  • I have two apple  Ids, how do I consoliidate into one Id?

    I have two apple ids.  One for the apple store and one for the icloud and newstand. 
    How can i concsolidate the two ids into one ID.  One is associated with my Icloud
    and has payed icould stroage.  The other id is my pre os5 apple store id.
    They have different passwords.
    I use them on my IPAD.
    Howie

    You can't. There is no way to merge Apple IDs. The purchases made with these separate IDs will forever be tied to those IDs. Sorry.

  • How to select more than one free characteristics in web report?

    Hi,
    From the performance point of view, I want to select more than one free characteristics to be displayed in WEB report.
    I know in BEx Analyzer, we can do this by right mouse click and choose' query property' from the context menu, all the free characteristics are displayed in the popup window. But in WEB report these free char don't displayed in the 'query property' popup window.
    Could anyone tell me how to implement this in WEB report?
    Eileen

    Hi,
    each free characteristics in the list has two functions beside it, 'drilldown in rows' and 'drilldown in columns', but this functions as select only one free characteristics, each time you select one, the report will be loaded again.
    if I want to select like 10 free characteristics, the report will be refreshed and reloaded 10 times.
    my question is that how can I select these 10 free characteristics once to improve the performance.
    your help will be appreciated. Thanks.
    Eileen

  • How to download & how to merge pdfs into one pdf file?

    Hello everyone!
    I hope someone can help me, because I am SO frustrated right now! I want to create an electronic document of a 40-page thesis I wrote. I no
    longer have the original computer files, so I took digital photos of each page.
    Then I converted all the jpegs into pdf files.
    Now I want to merge these 40 jpegs into one pdf file.
    I read that this is possible with Adobe Acrobat 8 or 9. So, yesterday I downloaded the trial version of what I thought was Adobe Acrobat 9. Well,
    two whole hours later, all I could find on my computer was Adobe Reader 9, which would not allow me to merge any pdfs.
    So, today, I again reinstalled the Adobe Acrobat 9. Now, after waiting another two hours, there is NOTHING on my computer--no Adobe Reader, no Adobe Acrobat, no desktop icons, nothing in the "All Programs" list when I press the Start menu, etc.
    What happened? How could something that took so damned long to download be totally invisible on my computer now? I do see Arcsoft, but that is for photographs. Is it possible to merge pdfs together using Arcsoft?
    I have SO much other work to do, and I am so disgusted that I have lost two days on this project, just trying to merge pdfs together! Please, if
    you have any suggestions as to how to get Adobe Acrobat 9 as a trial version an/or how to merge pdfs, please answer this post!
    Thank you very much for your help.
    Courtney

    Hi. Yes, that is the link from which I downloaded Acrobat 9. I now have this file on my computer: AcroPro90_efg.exe
    Yes, I did install it, but one of the times it hanged at 99.96%. Do you know what that means?
    Thanks in advance.
    Courtney

Maybe you are looking for