• The result set I get is not the same as the result set posted in the article. Can you repost the code to populate the tables? I had a DBA run it here at my company and he got the same results that I got.

    First 10 rows:

    'Product1', 'Scheme1', 1524.15, 124.32, '2010-07-20 16:39:32'

    'Product1', 'Scheme2', 1524.15, 124.32, '2010-07-20 16:39:32'

    'Product1', 'Scheme3', 1524.15, 124.32, '2010-07-20 16:39:32'

    'Product1', 'Scheme4', 1524.15, 124.32, '2010-07-20 16:39:32'

    'Product1', 'Scheme5', 1524.15, 124.32, '2010-07-20 16:39:32'

    'Product1', 'Scheme1', 9144.90, 745.92, '2010-07-20 16:39:32'

    'Product1', 'Scheme2', 4572.45, 372.96, '2010-07-20 16:39:32'

    'Product1', 'Scheme3', 3048.30, 248.64, '2010-07-20 16:39:32'

    'Product1', 'Scheme4', 3048.30, 248.64, '2010-07-20 16:39:32'

    'Product1', 'Scheme5', 3048.30, 248.64, '2010-07-20 16:39:32'