• tsmith-960032 (9/21/2010)


    Luke L (9/21/2010)


    Why doesn't it matter which in records 1-2? If it doesn't matter why return that column at all?

    -Luke.

    Ok,

    ColumnA is a shipping number.

    Each shipping number may have several orders in it.

    Therefore, it is repeated, once for every order. I did not include the order number column, since I don't need it. Each unique shipping number is a load.

    I want to count how many loads there are, and for different delivery date time periods, hence columnB and columnC.

    Just to play a bit of devil's advocate here. What if instead of

    1 ABC1234 09/01/10 09/02/10

    2 ABC1234 09/01/10 09/03/10

    rows 1 and 2 looked like this?

    1 ABC1234 09/01/10 09/02/10

    2 ABC1234 10/01/10 10/03/10

    Depending on how you are calculating "different delivery date time periods" How do you know which date period to put shipment abc1234 into or do you want it to show up in both?

    To help us help you read this[/url]For better help with performance problems please read this[/url]