Need to fetch records which comes after in the sequence

The data in the subject area is something like this:
seq activity enddate
1 Requirement Gathering 15-Feb-13
2 Analysis 20-Feb-13
3 Function Documentation 25-Feb-13
4 Development 25-Mar-13
5 Test 10-Apr-13
6 Migration 15-Apr-13
In the report I need to get the records which are after the boldAnalysis activity.
Regards,
Prem.

Pardon if i had been confusing. Let me rephrase it.
The requirement is to get all the Orders & their lines which have a particular item in their Order.
Order Num line num Item desc
101 1 Honey
101 2 Bread
102 1 Eggs
102 2 Bread
102 3 Eggs
103 1 Eggs
103 2 Honey
How to get all the orders & order details which have item "Honey" in them?
Regards,
Prem.

Similar Messages

  • I cant re-store my iPhone through the iTunes. Message which comes up says' the iPhonw could not be restored. An unknown error occurred (21). i tried all the options and nothing seems working. please help

    I cant re-store my iPhone through the iTunes. Message which comes up says' the iPhonw could not be restored. An unknown error occurred (21). i tried all the options and nothing seems working. please help

    Hi chiekoo,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694#error21
    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
    Best of luck,
    Mario

  • Issue comes after resetting the password of SYSTEM user???

    Hi experts,
    if there is an issue comes after resetting the password of "SYSTEM" user id in oracle 10g, ECC6.0
    ecc 6.0
    oracle 10g
    HPUx
    Regards,
    vivek

    >> Using brtools you won't be able to change the password for database users like SYS and SYSTEM.
    Are you sure about this? I am sorry but it is not correct. You are able to change these passwords by using brtools
    Best regards,
    Orkun Gedik

  • Need help with SQL for selecting ID where the sequence does not match..

    I have the following dilemma:
    Database contains IDs as follows:
    Incident#, Case#, & Part Sequence#
    example
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 2
    Sometimes the user will delete (let's say) Record 2 after creating a new Record 3
    So now the sequencing goes as follows:
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 3
    Now there will no longer be a Part_Sequence 2
    Need a SQL to select all records where the maximum part sequence > than the count of Incident_number||'-'||Case_number
    I tried the following:
    select a.incident_number||'-'||a.case_number||'-'||a.part_sequence
    from chsuser.a_compl_summary a
    where a.entry_date >= '01-may-2011'
    and max(a.part_sequence) > count(distinct a.incident_number||'-'||a.case_number)I end up getting a ORA-00934: group function is not allowed here (highlighting on the Max(a.part_sequence) portion.
    Any suggestions/hints
    Thanks

    select  incident_number || '-' || case_number || '-' || part_sequence
      from  (
             select  incident_number,
                     case_number,
                     part_sequence,
                     max(part_sequence) over(partition by incident_number,case_number) max_seq,
                     count(*) over(partition by incident_number,case_number) cnt
               from  chsuser.a_compl_summary
               where entry_date >= DATE '2011-05-01'
      where cnt != max_seq
    /SY.

  • Modifying Sequence directly after loading the sequences

    Hi,
    I'm planning to write some kind of profiler to find out which step consums the most testtime.
    Therefore I'm using the Engine Callbacks SequenceFilePreStep and SequenceFilePostStep.
    Whenever a Step in the sequence is executed the SequenceFilePreStep generates a timestamp and after the execution of the step the SequenceFilePostStep generates another timestamp. Both timestamps can be used to estimate how long that step was executed.
    I'm using many different sequence files (e.g. one sequence fiel for feature A another sequence file for feature B and so on).
    A sequence file can be called (loaded) from both the top level sequence file or from any other sequence file.
    My problem is, that I don't want to modify each of the sequence files. The profiling should rather be initited automatically.
    My idea is, that the process model will add the above mentioned subsequences into every sequence file that is used during execution of the testplan.
    Any Idea how to implement that?  As far as I have seen there is no ProcessModel callback which is called whenever a sequence file is loaded, isn't it?
    Many Thanks,
    Thorsten
    I forgot to mention, I'm using Teststand 3.1 currently, but planning to change to 4.x
    Message Edited by Tho_Wa on 10-30-2008 01:48 AM
    Solved!
    Go to Solution.

    Hi Thorsten,
    That would be a great product suggestion- StationFileLoad callback.  So in the TestStand Reference Manual in Chapter 10 there is an awesome table that shows all the Engine Callbacks (table 10-1).  It shows where the callbacks should be used and what not.  Basically the ProcessModelPreStep and ProcessModelPostStep might be what you are looking for.  You'll Notice that it states: Before the engine executes each step in any client sequence file that the process model calls, and each step in any resulting subsequence calls.
    So why not just use these?  The step is being passed as a parameter so you have access to it.
    Let me know if you have any questions,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Need to find records which match or unmatch with isd code

    Hi all,
    Having two tables
    1. cdr
    callingno                      calledno
    9891567854                 8613548159929
    9894562145                 8125642136545
    9899546213                 8336547896322
    8856521217                 8174456217789
    2. ISD rates
    code
      81
    817
    818
    819
       82
       84
    850
    852
    853
    8536
    855
      86
    Requirements:
    1] Matching records : Find records from cdr which matches isd code from isd rates table
    it cound be
    select cdr.callingno, cdr.calledno from cdr cdr, isdrates isd where (( substr(cdr.calledno,1,1) =isd.code) or ( substr(cdr.calledno,1,2) =isd.code) or ( substr(cdr.calledno,1,3) =isd.code) or
    ( substr(cdr.calledno,1,4) =isd.code))
    output:
    callingno                      calledno
    9891567854                 8613548159929
    9894562145                 8125642136545
    8856521217                 8174456217789
    2] Unmatching records:
    output required:
    callingno                      calledno
    9899546213                 8336547896322
    Kindly Help.

    this?
    with cdr(callingno,calledno) as (
    select '9891567854','8613548159929' from dual union all
    select '9894562145','8125642136545' from dual union all
    select '9899546213','8336547896322' from dual union all
    select '8856521217','8174456217789' from dual ),
    isd(code) as(
    select '81' from dual union all
    select '817' from dual union all
    select '818' from dual union all
    select '819' from dual union all
    select '82' from dual union all
    select '84' from dual union all
    select '850' from dual union all
    select '852' from dual union all
    select '853' from dual union all
    select '8536' from dual union all
    select '855' from dual union all
    select '86' from dual )
    select q.callingno,
           q.calledno,
           case when count(decode(m, 'MATCHED', 1)) > 0 then 'MATCHED' else 'UNMATCHED' end
      from (select t.callingno,
                   t.calledno,
                   case when (substr(t.calledno, 1, 4) like i.code || '%') then 'MATCHED' else 'UNMATCHED' end m
              from cdr t, isd i) q
    group by q.callingno, q.calledno
    CALLINGNO
    CALLEDNO
    CASEWHENCOUNT(DECODE(M,'MATCHE
    9899546213
    8336547896322
    UNMATCHED
    8856521217
    8174456217789
    MATCHED
    9891567854
    8613548159929
    MATCHED
    9894562145
    8125642136545
    MATCHED
    Ramin Hashimzade

  • Which comes first?  The schema or the form?

    I am new to livecycle, so please bear with me ;-)
    My question is about schemas. Since my company does not have a "master" schema, we will be starting from scratch.
    How does one begin? Do you create a schema first in a tool such as xmlSpy and then use that to create forms and bind the data? Or does one start by creating forms and then exporting the data from livecycle out to a schema (which then would also need to be bound back to the fields in the data view). For some reason I'm stuck thinking that starting by creating the form(s) first and exporting the data would be useful for growing your master schema.
    Thanks for your help!

    Hi,
    What the Paul said is actually correct. However most of the time form is changing a lot so you have to change the schema before changing the form if starting from schema.
    If you design the document first, you can generate the schema later by using the exported data of the PDF. There exists some free tools to convert XML data to XSD schema.
    In case of any consultancy issues and huge number of PDF designs needed in small periods, we develop and design PDF documents.
    Asiye Günaydın
    Project Consultant
    KGC Consulting Co.
    http://www.kgc.com.tr

  • Modifying the number of records to skip after importing the flat file

    I imported a flat file and the first row was the column header. I also created an external table for that flat file. The sqlldr is skipping the first record during the load. Is there a way to change this in the flat file module or External table?

    If you marked this row as the header in the sample wizard then you will see the following in the External Table:
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    CHARACTERSET WE8MSWIN1252
    STRING SIZES ARE IN BYTES
    NOBADFILE
    NODISCARDFILE
    NOLOGFILE
    SKIP 1
    So the external table is skipping this.
    Now the issue with changing it is interesting because you cannot change this after the sampling... I think this is a bug which I will file.
    Let me know if this answers the question,
    Jean-Pierre

  • Is it possible to replace the default background photos which come up on the Apple TV with one's own photos?

    I wish to display my own photos in place of the default ones supplied be Apple. How do I do this?

    Not sure, but some remotes allow pointing one remote at it and by going through some steps, teach the remote each of the button codes.
    For me, I opted for the Logitech Harmony remote. Think many here will say it is the best universal remote you can buy. Uses database from logitech (plug remote into computer, tell it model numbers of all your devices) and programs remote for all devices. It knows the AppleTV already and works great with it (and pretty much any other device that needs a remote).

  • How come after seeing the message "You have successfully install Flash Player".

    I then go the the site that I need it for. I get the message "This game requires that you have Javascript turned on, and that you have Adobe Flash  or higher installed. Click the button below to install it (will take less than 30 seconds".
    Javastrip is enabled. Is this just another problem ADOBE is having with the up date or what?

    I received your PM, but it would be better that you reply here in the forum.
    So you use Windows 7 (what edition?), IE9, Firefox, and Chrome.
    What files do you have in
    C:\Windows\system32\Macromed\Flash ?
    C:\Windows\syswow64\Macromed\Flash ?

  • I connected my Ipad 2 to the TV by the HDMI cable. I can see mp4 videos stored in my Ipad but I cannot record them on the DVD recorder which is connected to the TV by a SCART connection. In which way can I store my videos avoiding to fill the Ipad memory?

    Is it possible to record videos stored in Ipad2 on a DVD recorder or external HDD?

    Connect the phone by USB to the computer, import with image capture, iPhoto or whatever application you use to import movies, drop it into iTunes.

  • Need Database to be started automatically after restarting the system

    I m using oracle 8.1.6 on windows 2000. My company wants me to automate the database i.e whenever the system is restarted then the database should also start automatically.
    Do any one have any solution for this?....

    Action :
    Begin by logging on as Administrator. This will give you access to all the Services available in Windows 2000. To load the Services Utility, click on Start, Settings, Control Panel, Administrative Tools, then Services (You may also be able to access it via Start, Programs, Administrative Tools, Services if you enabled Administrative Tools to be displayed on the Start Menu).
    Then double click on OracleService<sid> and change the startup type to Auto.
    Mudassir

  • Need to get record status

    Hi All
    I have a below requirement...
    Normally i have 3 blocks. One is master block and remaining blocks are details blocks(in different tabs).
    I can do query in all the blocks for the sake of fetching records.
    If i selected the record in detail block and tried to get the query mode it needs to perform the query in details block. It is working fine.
    If i didn't select any particular record in detail block and tried to get the query mode it needs to perform the query in master block. But here cursor is coming to detail block, and querying detail block when i did query.
    Requirement:
    Here i need to get the record status in detail block level. If the record is in selected status it should perform query in detail block, else cursor should move to master block level.
    I am not able get the record status in detail level.
    Can any one help on this?
    Thanks in advance.
    With warm regards
    Hari
    Edited by: 940598 on May 9, 2013 5:42 AM
    Edited by: 940598 on May 9, 2013 5:44 AM
    Edited by: 940598 on May 9, 2013 5:56 AM

    Hi Craig
    Thanks for your quick reply.
    I am using form 6i for my form development.
    Issue Description:
    When i try to query the field first time in Master block level, it will fetch the data both Header Block and Details block. As well as cursor point will be in both Mater and Detail Blocks level.
    When i try to query second time without selecting(Placing the cursor) any field in both blocks it is automatically querying Detail level Block (All Detail block records in read only mode).
    But it should query Master Level Block. Detail block has to perform query only when we select (Place cursor) the record in Detail Block.
    Answers for your questions:
    Can you prove a code sample?:
    I have used the below code in detail block level to move cursor from one block to in another block.
    When new Block instance:
    IF :SYSTEM.RECORD_STATUS = 'QUERY' THEN -- tried with 4 record status which you have provided
         GO_BLOCK ('XX_INV_SERV_DEMA_STG'); -- XX_INV_SERV_DEMA_STG is the detail block name
    ELSE
         GO_ITEM('XX_INV_ITEM_ELEMENTS_V.ITEM_NUMBER'); -- XX_INV_ITEM_ELEMENTS_V Master block name.
    END IF;
    The above query is not working fine.
    Requirement:
    When i try to query second time it should perform in master level block. Not in detail level block.
    Please reply for this requirement
    Thanks in advance.
    Regards
    Hari.
    Edited by: 940598 on May 10, 2013 5:22 AM

  • Fetch records from Database based on Input value

    Hi Experts,
    In my mobile application, I have designed one input field with F4 help or input assist. I need to fetch records from database based on that input and need to display records in table.
    My question is:
    How to fetch the records from database/back end based on the input value and display them as table format as we are doing in SAP ABAP?
    Here, I need to fetch the records based on input value available in the UI screen and pass that value to gateway, fetch the records from database and need to bind with table in SAPUI5.
    Kindly share the whole process flow with sample code for this requirement. Hope I have explained the requirement in detail.
    Thanks In Advance..
    Regards,
    Arindam Samanta.

    Hi,
    Try something like this.
    In this, I am passing From date, To date, RelGrp, RelStr, Uname as input. Then I am storing those values in variables and passing this data in Odata request.
    OData.read({ requestUri: "http://xxxx:8000/sap/opu/odata/sap/Z188_PO_SRV/pos?$filter=Docdate le datetime'"
                    + todateformat+"T00:00:00' and Docdate ge datetime'"
                    + fromdateformat+"T00:00:00' and RelGrp eq '"
                    + relcode +"'and RelStr eq '"
                    + relstg +"'and Uname eq '"
                    + username+ "' "},
      function (data) {
    console.log(data);
    When we are giving correct inputs it will goes to Success function and get the data from back end.
    In console we can see the data.
    Hope this will helps to you.
    Thanks&Regards
    Sridevi

  • What is error 2003, which appears after signing in from adroid tablet

    What is error 2003, which comes after entering my Adobe ID, to down load a book using overdrive, I can get into mySign in on my laptop but not wit tablet.
    Norton sub-hambdon

    You'll want to ask in the Digital Editions Forum

Maybe you are looking for

  • ITunes 8 deleted my music files

    We upgraded to iTunes 8 and I've had major problems. First, my iTunes music file no longer matches what is in my library. Now, all my songs have that exclamation point that means it can't find the original file. Instead, the file consists of new song

  • How to get rid of inactive, stuck in update app icons from Launchpad?

    How do I get rid of all these useless icons? I've tried holding the icon and deleting it but it doesn't go away.

  • BAPI or FM for transaction F-30

    Hi there, I wanted to know if there is any existing BAPI or FM that runs transaction F-30 in the background? I want to clear as well as post documents using this transaction F-30 in the background. Thanks, Deepti

  • Discoverer Viewer Export

    Before upgrade 10G we were able to export as csv and then import into access 97, now we are getting extra carriage returns and line feeds which is causing the import to access 97 to fail. Any suggestions on what could be causing this. We use both Vie

  • How to connect oracle form6i or 10g to mysql database

    can anyone tell me how to connect oracle forms to mysql database using ODBC connector? akin