Skip to Content
author's profile photo Former Member
Former Member

Sorting of data across data packets

Hi,

We have a requirement in which we need to sort the delta packets coming out of an ODS in a particular order. We specified the sort in the update rule of the target ODS. However this fails when there are multiple data packets. For E.g Let us say we need to sort by Date and we need the last date to go last. So if there are 3 dates in the same data packet, the update rule sort works fine. However if say the record for 25-Dec-05 is in packet 1 and for 23-Dec-05 is in packet 2, then the sort is ineffective and the 23-Dec-05 record becomes the last record.

Has anyone faced a similar issue ? Any suggestions ?

Thanks

Shailesh

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 07, 2005 at 09:58 AM

    You are right ... sort operation works not fine with Data Pacakge, but I'm afraid that you should give some more info to obtain a suggestion. I would say that you can operate with SQL (e.g. SELECT MAX ...) but it depends on you business scenario.

    Best Regards

    GFV

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 03:08 PM

    > Hi,

    >

    > We have a requirement in which we need to sort the

    > delta packets coming out of an ODS in a particular

    > order. We specified the sort in the update rule of

    > the target ODS. However this fails when there are

    > multiple data packets.

    > Has anyone faced a similar issue ? Any suggestions ?

    >

    > Thanks

    > Shailesh

    There are basically two options:

    1. You can raise the InfoPackage size so that you get all your data into one request.

    2. Create a start routine that selects the ODS data itself and puts packages with the right size. (If it's not too big put all the data into one package.)

    Best regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.