Repeating same song one after another from same album.

Hey there,
I'm using my iPhone as a playlist for a Cinema I work in, on the iPhone it has some advertisements, but I want it so that it doesn't repeat another advert if it's just played one.
How can I do this?
Kind Regards

I had a feeling it might have to do with rebuilding the library, so I did a search on that and came up with this link for iPhoto 08, which also works for this current version. Apparently it's not uncommon to corrupt the library when updating iPhoto (doesn't happen with my other programs, though, so maybe iPhoto people need to improve the system better.)
http://www.simplehelp.net/2008/06/20/how-to-rebuild-a-corrupt-iphoto-08-database /
After rebuilding it, I actually did have the same dialog box come up twice, deleting two more albums, but that was it, leaving 30 plus albums intact. So in the end, I don't know what exactly the problem was, nor whether what I did solved it. However, if anybody is interested, the rebuild dialog box opens if you hold the "option" and "command" keys down while opening iPhoto. I checked off each box there and rebuilt.

Similar Messages

  • Itunes 10 freezes when trying to play different songs one after another.

    in itunes 10 when i try to play one song, then want to play another--it lags/freezes horribly. Itunes 9 didn't do this. is this just a bug--that might get fixed with an update?? please this is VERY ANNOYING.

    As this doesn't relate to an iPod and is an iTunes question, please post here.
    http://discussions.apple.com/forum.jspa?forumID=800&start=0

  • Songs Skip Forward One After Another/Sporadic and Out of Nowhere

    I have an older IPOD 40g that skips through songs, one after another, without playing anything, and seems to do it in any mode, especially in overall Shuffle mode. I have the "shuffle Songs" feature on, but other than that, it has a pretty standard set up.
    I have restored to the defaults, last week, and it started doing the wierd stuff again today.
    Sometimes I have a hard time getting it to unfreeze and reset as well.
    I appreciate any help.

    Have you tried Party Shuffle? If you control click on a track, you can choose "Play Next In Party Shuffle". I often listen the way you're describing. I start listening in Party Shuffle (which I have set to select from a specific playlist). When I am reminded of another song, I select the song and then choose Play Next in Party Shuffle. And so on.
    As for your second question, you could try moving your entire short playlist into Party Shuffle. Once that playlist was done, Party Shuffle would revert to it's normal selection criteria (you could set it to pull from your entire library or a specific playlist). Music would keep playing.
    Can you tell I like Party Shuffle?

  • When I try and open Microsoft Word 2011 documents they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens?

    When I try and open Microsoft Word 2011 documents on my  IMAC they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens. The documents open in rapid succession on their own and don't stop until I force close or after maybe 100 or more open I start getting the following message for each document attemting to open "This document could not be registered. It will not be possible to create links from other documents to this document" and then in paretheses the name of the document. After I click okay another trys to open. Any suggestions?

    If you had multiple documents open and quit the app without closing all of the docs first, it will open them again when you launch the app. Open Word, and then close all the documents, you may be asked to save the document, if the document was already saved but you made changes to it before you quit the app, you may need to save the changes first, shorcut ( command and s keys). After you close all of the documents then quit the app and restart the computer. See if this works.

  • How to play two presentations from the DMP one after another and looping

    Can anyone help me on this.I want to play two presenations one after another and looping from the DMP.

    Semuhtu,
    The easiest solution for looping two or more DMD presentations
    is to create a nested playlist within DMD.  You simply
    create a master presentation and add a playlist to this
    presentation.  Add the desired presentations to this playlist
    and then schedule or send the Action to the DMP(s) to play
    the Master Presentation.  The 2 or more child presentations will
    play and loop until you stop it manually.
    Summary of Tasks
    * Using DMD create Presentations (2 or more) that you would like
      to display on the DMP-Display(s).
    * After the presentations are created, you will need to find out
      what the URL addresses are for each presentation. Using the
      "Actions" drop down on the DMM-DMP Manager screen, you select
      a DMP and send the Presentation to the DMP.  Once the DMP displays
      the presentation, access the DMP-DM Web admin page and copy the URL
      address in the "Startup URLs-->Browser" field.   Repeat this process
      for each DMD presentation that you want to loop.
      For example:
      http://dmm.company.com:8080/xTAS-core/appgen/clad/clad_95_.htm
      http://dmm.company.com:8080/xTAS-core/appgen/clad/clad_96_.htm
      and so on...
    * Another parameter or variable that you will need to find out is
      the duration of your DMD presentation(s).  Some Presentations may be
      a slideshow of images and some may contain videos.  Your will need to
      play each presentation on the DMP to determine the duration length of
      each presentation that you will add to the looped playlist. 
    * Create a Master presentation using DMD. In this presentation, you will
      create add a "Playlist" to the presentation by selecting the Playlist
      button-drop down.  Select "All Media Types" and a Playlist object will
      be added to the Master presentation.
      - Double-click on the object to add content
      - Select "Add URL" button in the Playlist Content window.
      - Fill in the required fields (URL Title & Link) in the "Add URL"
        window.  Repeat the process for each presentation that you want
        to add.
      - Set the Duration for each item in the Playlist. Select the Item
        in the list and then DOUBLE-CLICK on the "Planned Duration"
        field and edit the time to desired duration.  Repeat process for
        each item.
      - Save Master Presentation
    * Schedule or use the  "Actions" drop down on the DMM-DMP Manager screen
      send the Master Presentation to the DMP(s).  The Playlist will play and
      Loop after the last item in the Master Playlist.
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • Invoking 2 SQL statements one after another?

    Hi,
    Is it a good idea to invoke to 2 SQL statements one after another using the same connection & statement object? Some thing like this:-
    method(){
    String insertSql="insert into employee(Name,Age)values(?,?);
    Connection conn=null;
    PreparedStatement pst=null;
    int insertRows=0;
    ResultSet rs=null;
    try{
    conn=getConnection(); //will get the connection object
    if(insertRows==0){
    pst=conn.preparedStatement(insertSql);
    pst.setString(1,"Jason");
    pst.setString(2,"30");
    insertRows=pst.executeUpdate();
    conn.commit();
    if(insertRows>0) {
    pst=conn.createStatement("select * from employee");
    //retrieving the data from the same table
    rs=pst.executeQuery();
    while(rs.next()){
    System.out.println("The name is::"+rs.getString(1)+ " "+rs.getString(2));
    }catch(Exception e){
    }finally{
    try{
    if(pst != null) {
    pst.close();
    pst = null;
    if(rs != null) {
    rs.close();
    rs = null;
    if(conn != null) {
    conn.close();
    conn = null;
    }catch(Exception e) {
    e.printStackTrace();
    Here one more thing is that i want the insertSQL statement to be invoked only once that is in the beginning and the next time the method() is called it should skip the insert block and should only retrieve the data using "select * from employee". How to do it? I tried with few options nothing works.. Please do provide a solution for this... It is really urgent.
    Thanks

    Is it a good idea to invoke to 2 SQL statements one after another using the same connection & statement object? I think what you're asking is if you need a new Connection and/or Statement object for every query. The answer is no. In fact, most applications pool Connections so literally thousands or millions of queries are done in the lifetime of a Connection. You can reuse Statements and PreparedStatements as well as long as you intend on executing the same query.

  • IDCS6 MACOSX JS: Data Merging many txt files one after another

    Hello everybody.
    I have a situation where I have to data-merge many text files to the one actual indesign "base" file. The formats of the databases are all the same, the point of difference is a code in the second field of the database that refers to a mailing zone (not a zip/postcode, a "distribution centre" code that has 56 or so possibilities). I would prefer to data merge one file and then somehow split the resulting PDF via Acrobat, but the length of the resulting mailing zones is inconsistent and something that can't be done though the "split document" feature in acrobat.
    The database starts out as one massive file but using a one-line  code, can be split into its mailing zones into separate text files.
    My ultimate question: is there any way to data merge more than one file at once (e.g. one after another) and give them their names based on the names of the input text file?
    Ole Kvern had a script to Data Merge one file without the UI. I have altered the last line slightly so that it outputs to a PDF based on [High Quality Setting]:
    if(app.documents.length != 0){
            var myDocument = app.activeDocument;
            app.dataMergeOptions.removeBlankLines = true;
            //Select a source file.
            var myDataFile = File.openDialog("Select a data file")
            var exported = "file location(redacted for the sake of this post)"
            if(myDataFile != ""){
                    myDocument.dataMergeProperties.selectDataSource(myDataFile,);
                    myDocument.dataMergeProperties.exportFile(exported,"[High Quality Print]",);
    I figure the answer has to do with the variable "myDataFile" and rather than being simply open a dialog, it would be somehow selecting an array of text files, but this is where I am out of my depth.
    Any insights or other thoughts that may not involve trying to do many merges at once but may somehow revolve around one large merged PDF?
    Many thanks
    Colin

    I've answered my own question, but the answer lies outside of Adobe InDesign – it uses bookmarks within Adobe Acrobat.
    1) Data Merge the art/data to one large PDF file.
    2) In the resulting PDF file, manually search out the mailing zones and apply bookmarks to each first instance only of each mailing zone. In this case, it is a manual process of find/replace to find one of 70 possible mailing zones that may be used in any database. Each bookmark should be named with its respective code. It is a manual process, but it would take 5 minutes so this is acceptable.
    3) Using "Split Document" from the pages panel, make sure the "top level bookmarks" radio button is checked, and in the Output Options make sure that the "Use bookmark names for files" radio button is checked.
    I'm aware that this was a rather obscure question that only a fraction of users on this forum may wish to know an answer for, but hopefully this workaround helps someone else in a similar situation.
    Colin

  • I have 160gb of music on my Classic, 6th Gen (I think) I've just bought it. Is it possible for it to play my songs in a random order, one or two from different albums?

    I have 160gb of music on my Classic, 6th Gen (I think) I've just bought it. Is it possible for it to play my songs in a random order, one or two from different albums?

    To add to what Stonerock has mentioned, you can either create Playlists in your iTunes Library, containing exactly what you want, and then Sync them to your iPod, or you can use the iPod Classic's On-The-Go feature.
    Reading between the lines, I'm going to assume for now that you want to be able to create your preferred listening list while "out and about" - so not near your iTunes library. (You have posted in iPod Classic, after all.) You can do this with the On-The-Go Playlist.
    Look in the Playlists menu on the iPod. It probably contains the Recently Added, Recently Played and other pre-made Playlists that you see in your iTunes Library. At the bottom of the Playlists list, is the On-The-Go showing 0 Songs. Scroll down to it and press the Select (centre) button. The screen will give you instruction on adding songs to the On-The-Go Playlist.
    Basically, if you press-and-hold the Select (centre) button, while highlighting a song, the song title will blink as it is added to the On-The-Go Playlist. Try it, then go back to Playlists/On-The-Go and notice that it will now say 1 Song. (Note, you cannot add a "now playing" song to the On-The-Go Playlist.) Repeat this for every song you want to have in the list. You can also look in the Albums menu, highlight the album title and press-and-hold that to add the complete album to your On-The-Go Playlists with one press. So if you add the two albums to your On-The-Go Playlist, you can then listen to just those two albums.
    To shuffle the songs, turn on Shuffle on your iPod. Either, go into Settings/Shuffle and press the Select button to toggle between Off/Songs/Albums, or on the Now Playing screen, press the Select button three times to reach the Shuffle option, where you use the scroll wheel to move between Off/Songs/Albums, press the Select button to activate it.
    Having added songs to the On-The-Go Playlist, go into it and notice the list of songs and options to Save Playlist (New Playlist 1) or Clear Playlist. If you use Sync to manage your iPod (and that really is the best way by the way), the next Sync will transfer any unsaved On-The-Go and any New Playlist Xs that you have, back to your iTunes Library. You can even remove any song from the current On-The-Go Playlist by highlighting it (in the On-The-Go, obviously) and press-and-holding the Select button.
    If you need assistance in creating a Playlist in your iTunes Library, please ask.

  • JMF Play files in a sequence one after another

    Hi
    i developed a JMF based player for playing more than one files in a sequence one after another.
    problem is that it playes all files at same time.
    it should run 2nd file when one file is completed.

    I think time period or state of media will be helpful

  • Run Jobs One After Another

    I know this is possible, I'm not sure how to go about it using Oracle's Scheduler. I simply want to create a special "queue" that I can submit jobs to which will run one after another. After they run, then then are gone. There many be no jobs at anyone time, and then at other times I may submit 10 jobs to the queue. Currently when I submit jobs they all run parrallel, this is not what I want. I guess I don't understand why Oracle calls it a Job Queue when all my jobs run in parrallel and not in a queue as the name implies.
    This is not say that I don't have other jobs which I would not want to send to this "queue". In other cases I would just want to submit the job and let it run right away and not wait on anything.
    I'm currently using the DBMS_JOB package, which I'm pretty sure won't let me do what I want.
    Any help would be greatly appreciated.
    Thanks,
    Joe

    Here is and example that creates Resource Manager objects and
    two job classes that will permit 1 and 3 jobs to
    run in parallel. Note this will work in 11R1 and 10.2.4
    Assumes user user scott/tiger exists.
    --  Remove existing scheduler objects, jobs and classes
    CONNECT /  as sysdba
    BEGIN
       DBMS_SCHEDULER.DROP_JOB_CLASS(
          JOB_CLASS_NAME => 'JOBQ_WIDTH_1_CLASS'
    END;
    BEGIN
       DBMS_SCHEDULER.DROP_JOB_CLASS(
          JOB_CLASS_NAME => 'JOBQ_WIDTH_3_CLASS'
    END;
    BEGIN
      FOR I IN 1..30 LOOP
      BEGIN
        SYS.DBMS_SCHEDULER.DROP_JOB(JOB_NAME => 'SCOTT.SERIAL_' || I, FORCE=>TRUE);
      EXCEPTION WHEN OTHERS THEN NULL;
      END;
    END LOOP;
    END;
    BEGIN
      FOR I IN 1..90 LOOP
      BEGIN
        SYS.DBMS_SCHEDULER.DROP_JOB(JOB_NAME => 'SCOTT.PAR3_' || I, FORCE=>TRUE);
      EXCEPTION WHEN OTHERS THEN NULL;
      END;
    END LOOP;
    END;
    ALTER SYSTEM SET RESOURCE_MANAGER_PLAN='';
    set echo on
    --  Remove previously defined  resource plan, resource plan
    --  directives, and resource consumer groups  for this test
    BEGIN
        -- Prepare the pending area
        DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA;
        DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA;
        -- Delete resource plan, its resource plan directives, and
        -- any associated resource groups
        DBMS_RESOURCE_MANAGER.DELETE_PLAN_CASCADE(
           plan => 'JOBQS_PLAN'
        -- Submit the changes
        DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA;
        DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA;
    END;
    -- Create resource manager objects
    BEGIN
       DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
       DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
       DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP (
            CONSUMER_GROUP => 'JOBQ_WIDTH_1_GROUP',  
            COMMENT => 'Consumer group to force jobs to execute in serial'
       DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP (
            CONSUMER_GROUP => 'JOBQ_WIDTH_3_GROUP',  
            COMMENT => 'Consumer group to allow jobs to run in parallel 3'
       DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    END;
    BEGIN
       DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
       DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
       DBMS_RESOURCE_MANAGER.CREATE_PLAN
          ('JOBQS_PLAN', 'PLAN TO SUPPORT JOBQS');
       DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
          PLAN => 'JOBQS_PLAN',
          GROUP_OR_SUBPLAN => 'JOBQ_WIDTH_1_GROUP',
          COMMENT=>'Associates with job class JOBQ_WIDTH_1_CLASS',
          CPU_P1 => 25,
          PARALLEL_DEGREE_LIMIT_P1 => 1,
          ACTIVE_SESS_POOL_P1 =>1
       DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
          PLAN => 'JOBQS_PLAN',
          GROUP_OR_SUBPLAN => 'JOBQ_WIDTH_3_GROUP',
          COMMENT=>'Associates with job class JOBQ_WIDTH_3_CLASS',
          CPU_P1 => 75,
          PARALLEL_DEGREE_LIMIT_P1 => 2,
          ACTIVE_SESS_POOL_P1 =>3
       DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
          PLAN => 'JOBQS_PLAN',
          GROUP_OR_SUBPLAN => 'OTHER_GROUPS',
          CPU_P1 => 0,
          CPU_P2 => 100,
          COMMENT=>'Required'
       DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
       DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    END;
    -- Create scheduler classes
    BEGIN
       DBMS_SCHEDULER.CREATE_JOB_CLASS(
          JOB_CLASS_NAME => 'JOBQ_WIDTH_1_CLASS',
          LOGGING_LEVEL => DBMS_SCHEDULER.LOGGING_FULL,
          LOG_HISTORY => 5,
          RESOURCE_CONSUMER_GROUP => 'JOBQ_WIDTH_1_GROUP',
          COMMENTS => 'Force jobs to run in serial, through plan JOBQ_PLAN and group JOBQ_WIDTH_1_GROUP'
    END;
    BEGIN
       DBMS_SCHEDULER.CREATE_JOB_CLASS(
          JOB_CLASS_NAME => 'JOBQ_WIDTH_3_CLASS',
          LOGGING_LEVEL => DBMS_SCHEDULER.LOGGING_FULL,
          LOG_HISTORY => 5,
          RESOURCE_CONSUMER_GROUP => 'JOBQ_WIDTH_3_GROUP',
          COMMENTS => 'Allow up to 3 jobs in parallel, enforced by plan JOBQ_PLAN and group JOBQ_WIDTH_3_GROUP'
    END;
    connect / as sysdba
    grant execute on jobq_width_1_class to scott;
    grant execute on jobq_width_3_class to scott;
    begin
      dbms_resource_manager_privs.grant_switch_consumer_group('scott','JOBQ_WIDTH_1_GROUP',false);
      dbms_resource_manager_privs.grant_switch_consumer_group('scott','JOBQ_WIDTH_3_GROUP',false);
    end;
    alter system set resource_manager_plan='';
    connect scott/tiger
    begin
      for i in 1..30 loop
      sys.dbms_scheduler.create_job(job_name => 'scott.serial_' || i,
          job_type=>'plsql_block', job_action=>'dbms_lock.sleep(2);',
          job_class=>'jobq_width_1_class',
          enabled=>true);
      end loop;
    end;
    begin
      for i in 1..90 loop
      sys.dbms_scheduler.create_job(job_name => 'scott.par3_' || i,
          job_type=>'plsql_block', job_action=>'dbms_lock.sleep(2);',
          job_class=>'jobq_width_3_class',
          enabled=>true);
      end loop;
    end;
    /-- The par3_90 job should finish about the same time as the serial_30 job since
    -- we run 3 jobs in paralled and serial respectively.
    -- check user_scheduler_job_run_details for after the test completed to verify.

  • Dialog Tasks one after another

    Hi All,
    This is regarding ECM workflow. The workflow gets stuck at 'CHECKSTATUS" step.
    Generally, (for any workflow) if there are two dialog tasks one after another being sent to the same agent,
    how and why the workitem of the second task automatically opens up ?
    I mean it gets executed automatically. I do not have to go to inbox again. Any Idea ?
    Thanks
    Deb

    Hi,
    There is a setting in the workflowstep definition.
    If your step is an activity, go to the second tab (details)
    Then check the Work Item Response. Second option is Advance with dialog.
    If this is checked then at runtime the second workitem will automatically open for the same agent.
    If it is unchecked then at runtime the agent has to get back to the inbox to open the second workitem.
    Hope this helps
    Kr
    Robert

  • Displaying images in canvas one after another

    Hi all,
    I have a problem displaying images in canvas one after another. I am using for loop and when i run the application, all images run back in the and only finally only the last image gets displayed in the emulator. I also used thread.sleep(). But it din't work.
    Here is my code:
    // A canvas that illustrates image drawing
    class DrawImageCanvas extends Canvas
    Image image;
    public void paint(Graphics g)
    int width = getWidth();
    int height = getHeight();
    g.setColor(0);
    g.fillRect(0, 0, width, height);
    String images[]={"paint_2.PNG","radha.PNG","cute.png","design.png","flowers.png"};
    for(int i=0;i<images.length;i++)
    image = null;
    System.out.println("/"+images);
         try
         image = Image.createImage("/"+images[i]);
    catch (IOException ex)
    System.out.println(ex);
    g.setColor(0xffffff);
    g.drawString("Failed to load image!", 0, 0, Graphics.TOP | Graphics.LEFT);
    return;
    if (image != null)
    g.drawImage(image, width/2, height/2, Graphics.VCENTER | Graphics.HCENTER);
    try
    Thread.sleep(5000);
    catch(Exception ex)
         System.out.println("the exception is.."+ex);
    Help me and Thanks in advance.

    See the code below : prefer the use of a Timer and a TimerTask instead of Thread.sleep().
    showNotify (from Canvas) is used to launch the timer.
    import java.io.IOException;
    import java.util.Timer;
    import java.util.TimerTask;
    import javax.microedition.lcdui.Canvas;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    public class DrawImage extends Canvas {
        Image image;
        String images[] = {"img1.png", "img2.png", "img3.png", "img4.png", "img5.png",
                            "img6.png", "img7.png"};
        Image[] tabImage;
        int imageCounter = 0;
        public DrawImage(){
            try {
                tabImage = new Image[images.length];
                for (int i = 0; i < images.length; i++)
                    tabImage[i] = Image.createImage("/" + images);
    } catch (IOException ex) {
    ex.printStackTrace();
    public void paint(Graphics g) {
    int width = getWidth();
    int height = getHeight();
    g.setColor(0);
    g.fillRect(0, 0, width, height);
    image = tabImage[imageCounter];
    if (image != null)
    g.drawImage(image, width / 2, height / 2, Graphics.VCENTER | Graphics.HCENTER);
    else{
    System.out.println("null");
    g.setColor(0xffffff);
    g.drawString("Failed to load image!", 0, 0, Graphics.TOP | Graphics.LEFT);
    protected void showNotify(){
    Timer t = new Timer();
    t.schedule(new PhotoSwitcher(), 5000, 5000);
    private class PhotoSwitcher extends TimerTask{
    public void run() {
    if (imageCounter < images.length - 1)
    imageCounter++;
    else
    imageCounter = 0;
    repaint();
    I hope this will help you !
    fetchy.
    Edited by: fetchy on 14 ao�t 2008 09:48                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • One after another

    Hello,
    SQL> with my_table as
      2             (
      3            select 'M082012' pera, to_number(10584338) snr, to_number(10) pnr, 'Beule' name, 'Anna' f_name from dual union all
      4            select 'M092012' pera, to_number(15965177) snr, to_number(15) pnr, 'Tester' name, 'Toni' f_name from dual union all
      5            select 'M082012' pera, to_number(14254501) snr, to_number(20) pnr, 'Wallen' name, 'Monika' f_name from dual union all
      6            select 'M012013' pera, to_number(14254505) snr, to_number(15) pnr, 'Wallen' name, 'Monika' f_name from dual union all
      7            select 'M012013' pera, to_number(14254506) snr, to_number(15) pnr, 'Wallen' name, 'Monika' f_name from dual union all
      8            select 'M082012' pera, to_number(10584339) snr, to_number(10) pnr, 'Beule' name, 'Anna' f_name from dual union all
      9            select 'M092012' pera, to_number(15965178) snr, to_number(10) pnr, 'Beule' name, 'Anna' f_name from dual union all
    10            select 'M012013' pera, to_number(10674833) snr, to_number(15) pnr, 'Tester' name, 'Toni' f_name from dual union all
    11            select 'M012013' pera, to_number(10674834) snr, to_number(15) pnr, 'Tester' name, 'Toni' f_name from dual union all
    12            select 'M082012' pera, to_number(10674835) snr, to_number(15) pnr, 'Tester' name, 'Toni' f_name from dual union all
    13           select 'M012013' pera, to_number(10539210) snr, to_number(30) pnr, 'Klose' name, 'Werner' f_name from dual union all
    14           select 'M012013' pera, to_number(12345678) snr, to_number(50) pnr, 'Meier' name, 'Otto' f_name from dual union all
    15           select 'M012013' pera, to_number(22345789) snr, to_number(50) pnr, 'Meier' name, 'Otto' f_name from dual union all
    16           select 'M082012' pera, to_number(10584346) snr, to_number(77) pnr, 'Carl' name, 'Frank' f_name from dual union all
    17           select 'M062012' pera, to_number(10550971) snr, to_number(77) pnr, 'Carl' name, 'Frank' f_name from dual union all
    18           select 'M092012' pera, to_number(15965185) snr, to_number(77) pnr, 'Carl' name, 'Frank' f_name from dual union all
    19           select 'M082012' pera, to_number(10584352) snr, to_number(50) pnr, 'Meier' name, 'Otto' f_name from dual union all
    20           select 'M092012' pera, to_number(15965191) snr, to_number(80) pnr, 'Duster' name, 'Hucke' f_name from dual)
    21       select case when pera = 'M012013' and rn3 = 1 then '*' end mark,
    22              pera,
    23              snr,
    24              pnr,
    25              name,
    26              f_name,
    27              case when pera = 'M012013' and rn3 = 1 then snr end mark_snr
    28         from (select pera, snr, pnr, name, f_name,
    29                      row_number() over (partition by pera, pnr, snr, name, f_name order by pnr, name) rn,
    30                      row_number() over (partition by pera, name, f_name order by pnr) rn3
    31                 from (select pera, snr, pnr, name, f_name,
    32                              max(case when pera = 'M012013' then 'Y' end)
    33                              over(partition by upper(name||f_name)) m_flag,
    34                              count(*) over(partition by upper(name||f_name)) cnt
    35                         from my_table)
    36                        where m_flag = 'Y'
    37                          and cnt > 1
    38                order by 4,5,6, to_number(substr(pera,4,4)||substr(pera,2,2)) desc)
    39       order by 4,5,6, to_number(substr(pera,4,4)||substr(pera,2,2)) desc,3
    40  /
    M PERA           SNR        PNR NAME   F_NAME   MARK_SNR
    * M012013   10674833         15 Tester Toni     10674833
      M012013   10674834         15 Tester Toni
      M092012   15965177         15 Tester Toni
      M082012   10674835         15 Tester Toni
    * M012013   14254505         15 Wallen Monika   14254505
      M012013   14254506         15 Wallen Monika
      M082012   14254501         20 Wallen Monika
    * M012013   12345678         50 Meier  Otto     12345678
      M012013   22345789         50 Meier  Otto
      M082012   10584352         50 Meier  Otto
    10 Zeilen ausgewählt.
    SQL>
    SQL> I would like to get the SNR column values one after another in MARK_SNR Column.
    It is possible to get the following output with a sql statement???
    M PERA           SNR        PNR NAME   F_NAME   MARK_SNR
    * M012013   10674833         15 Tester Toni     10674833, 10674834, 15965177, 10674835
    * M012013   14254505         15 Wallen Monika   14254505, 14254506, 14254501
    * M012013   12345678         50 Meier  Otto     12345678, 22345789, 10584352

    Try this:
    WITH my_table AS
            (SELECT 'M082012' pera,
                    TO_NUMBER (10584338) snr,
                    TO_NUMBER (10) pnr,
                    'Beule' name,
                    'Anna' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M092012' pera,
                    TO_NUMBER (15965177) snr,
                    TO_NUMBER (15) pnr,
                    'Tester' name,
                    'Toni' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M082012' pera,
                    TO_NUMBER (14254501) snr,
                    TO_NUMBER (20) pnr,
                    'Wallen' name,
                    'Monika' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (14254505) snr,
                    TO_NUMBER (15) pnr,
                    'Wallen' name,
                    'Monika' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (14254506) snr,
                    TO_NUMBER (15) pnr,
                    'Wallen' name,
                    'Monika' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M082012' pera,
                    TO_NUMBER (10584339) snr,
                    TO_NUMBER (10) pnr,
                    'Beule' name,
                    'Anna' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M092012' pera,
                    TO_NUMBER (15965178) snr,
                    TO_NUMBER (10) pnr,
                    'Beule' name,
                    'Anna' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (10674833) snr,
                    TO_NUMBER (15) pnr,
                    'Tester' name,
                    'Toni' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (10674834) snr,
                    TO_NUMBER (15) pnr,
                    'Tester' name,
                    'Toni' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M082012' pera,
                    TO_NUMBER (10674835) snr,
                    TO_NUMBER (15) pnr,
                    'Tester' name,
                    'Toni' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (10539210) snr,
                    TO_NUMBER (30) pnr,
                    'Klose' name,
                    'Werner' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (12345678) snr,
                    TO_NUMBER (50) pnr,
                    'Meier' name,
                    'Otto' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M012013' pera,
                    TO_NUMBER (22345789) snr,
                    TO_NUMBER (50) pnr,
                    'Meier' name,
                    'Otto' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M082012' pera,
                    TO_NUMBER (10584346) snr,
                    TO_NUMBER (77) pnr,
                    'Carl' name,
                    'Frank' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M062012' pera,
                    TO_NUMBER (10550971) snr,
                    TO_NUMBER (77) pnr,
                    'Carl' name,
                    'Frank' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M092012' pera,
                    TO_NUMBER (15965185) snr,
                    TO_NUMBER (77) pnr,
                    'Carl' name,
                    'Frank' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M082012' pera,
                    TO_NUMBER (10584352) snr,
                    TO_NUMBER (50) pnr,
                    'Meier' name,
                    'Otto' f_name
               FROM DUAL
             UNION ALL
             SELECT 'M092012' pera,
                    TO_NUMBER (15965191) snr,
                    TO_NUMBER (80) pnr,
                    'Duster' name,
                    'Hucke' f_name
               FROM DUAL),
         t AS
            (  SELECT CASE WHEN pera = 'M012013' AND rn3 = 1 THEN '*' END mark,
                      pera,
                      snr,
                      pnr,
                      name,
                      f_name,
                      CASE WHEN pera = 'M012013' AND rn3 = 1 THEN snr END mark_snr
                 FROM (  SELECT pera,
                                snr,
                                pnr,
                                name,
                                f_name,
                                ROW_NUMBER ()
                                OVER (PARTITION BY pera, pnr, snr, name, f_name
                                      ORDER BY pnr, name)
                                   rn,
                                ROW_NUMBER ()
                                OVER (PARTITION BY pera, name, f_name ORDER BY pnr)
                                   rn3
                           FROM (SELECT pera,
                                        snr,
                                        pnr,
                                        name,
                                        f_name,
                                        MAX (CASE WHEN pera = 'M012013' THEN 'Y' END)
                                           OVER (PARTITION BY UPPER (name || f_name))
                                           m_flag,
                                        COUNT (*)
                                           OVER (PARTITION BY UPPER (name || f_name))
                                           cnt
                                   FROM my_table)
                          WHERE m_flag = 'Y' AND cnt > 1
                       ORDER BY 4,
                                5,
                                6,
                                TO_NUMBER (
                                   SUBSTR (pera, 4, 4) || SUBSTR (pera, 2, 2)) DESC)
             ORDER BY 4,
                      5,
                      6,
                      TO_NUMBER (SUBSTR (pera, 4, 4) || SUBSTR (pera, 2, 2)) DESC,
                      3)
    SELECT *
      FROM (SELECT MARK,
                   PERA,
                   SNR,
                   PNR,
                   NAME,
                   a.F_NAME,
                   CASE
                      WHEN mark = '*' THEN
                            MARK_SNR
                         || ','
                         || SUBSTR (b.str, INSTR (b.str, ',', 1) + 1)
                   END
                      mark_snr
              FROM t a,
                   (  SELECT f_name,
                             listagg (SNR, ',') WITHIN GROUP (ORDER BY pera) str
                        FROM t
                    GROUP BY f_name) b
             WHERE a.f_name = b.f_name)
    WHERE mark_snr IS NOT NULL;OUTPUT:
    MARK     PERA     SNR     PNR     NAME     F_NAME     MARK_SNR
    *     M012013     10674833     15     Tester     Toni     10674833,10674834,10674835,15965177
    *     M012013     14254505     15     Wallen     Monika     14254505,14254506,14254501
    *     M012013     12345678     50     Meier     Otto     12345678,22345789,10584352Cheers,
    Manik.

  • Calling 3 different movies by one click, One after another.

    Hi,
    I have 9 small movies. I want to make a combo box and,
    provide 3 options to choose from. But each option should call 3
    movies ONE AFTER ANOTHER WITHOUT USER INTERFERENCE. I want movies
    to stream one by one to save bandwidth and delay. Following is the
    option for calling one movie by choosing one option but I want to
    start 2nd and 3rd movie without user interference. How do I do
    that?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable] private var swfDP:ArrayCollection = new
    ArrayCollection([
    {label:"Choose a Movie", data:""},
    {label:"Movie1", data:"myMovie.swf"},
    {label:"Movie2", data:"myMovie2.swf"},
    {label:"Movie3", data:"myMovie3.swf"}]);
    private function onComboChange(event:Event):void {
    // => Check to see if swf location exists, if it does then
    load the new swf.
    (event.currentTarget.selectedItem.data != "") ?
    loader.load(event.currentTarget.selectedItem.data) : "";
    ]]>
    </mx:Script>
    <mx:ComboBox dataProvider="{swfDP}"
    change="onComboChange(event)" />
    <mx:SWFLoader id="loader" width="800" height="600" x="200"
    y="50" />
    </mx:Application>

    Hi,
    I have 9 small movies. I want to make a combo box and,
    provide 3 options to choose from. But each option should call 3
    movies ONE AFTER ANOTHER WITHOUT USER INTERFERENCE. I want movies
    to stream one by one to save bandwidth and delay. Following is the
    option for calling one movie by choosing one option but I want to
    start 2nd and 3rd movie without user interference. How do I do
    that?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable] private var swfDP:ArrayCollection = new
    ArrayCollection([
    {label:"Choose a Movie", data:""},
    {label:"Movie1", data:"myMovie.swf"},
    {label:"Movie2", data:"myMovie2.swf"},
    {label:"Movie3", data:"myMovie3.swf"}]);
    private function onComboChange(event:Event):void {
    // => Check to see if swf location exists, if it does then
    load the new swf.
    (event.currentTarget.selectedItem.data != "") ?
    loader.load(event.currentTarget.selectedItem.data) : "";
    ]]>
    </mx:Script>
    <mx:ComboBox dataProvider="{swfDP}"
    change="onComboChange(event)" />
    <mx:SWFLoader id="loader" width="800" height="600" x="200"
    y="50" />
    </mx:Application>

  • Instances are restarting one after another!

    Hi There,
    My instances are restarting one after another.
    Is this the scheduled maintenance that was supposed to happen on Saturday, but for some reason is happening now?
    Whats going on?
    I have 24 instances and randomly the restart!

    Hi,
    From my experience, this issue may be caused by OS update,
    As long as each of your roles has 2 or more instances then your service will
    not experience downtime due to the adherence to upgrade domains.  The blog at
    http://blog.toddysm.com/2010/04/upgrade-domains-and-fault-domains-in-windows-azure.htmlhas
    a great explanation of upgrade and fault domains, and why having 2 instances of a role is required to meet the 99.95% uptime SLA.
    Hope this helps
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How can i open a link in new window (shift + Mouse Click) while not switching to the new window

    I want to open a new window (shift + Mouse Click) while not switching to the newly opened window. The focus should remain on the window from where i have opened the link.

  • ITunes won't open and message keeps coming up please HELP!!!!

    itune will not open keep saying iTunehelper was not installed correctly please reinstall itunes. error 7 and all my apple software doesn't too. for window vista

  • Run time for a Report

    Hi All, I have a requirement, where in i want to know whether my report has run for 8 mins or not. If it has run for 8 mins then i have to give an information message saying that the report is taking more than 8 mins so schedule the program in back g

  • Problem with the StreamingURLResource's clipStartTime

    I need to play a subclip, so i use StreamingURLResource to do this: var resource:StreamingURLResource = new StreamingURLResource(src, streamType, clipStartTime, clipEndTime); but with some of the steam, if the clipStartTime is higher than zero, the p

  • Entitlement Systems Logical System Name

    Environment: - BusinessObjects Edge Series BI 3.1 (standard packge) - Business Objects XI Integration for SAP Solutions - Windows Server 2003 x64 I am trying to configure a Logical System Name in the Entitlement Systems of the BusinessObjects Central