on 01-06-2005 5:09 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. 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
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.