[thelist] SQL 2000 update statement - thanks

Ingrid Z evoltlist at rogers.com
Tue Aug 13 11:42:29 CDT 2002


Thanks Rudy and Paul,

Rudy, your suggestion has helped. All I have to do now is re-sort the order
before I dump into the text file, so the order total column appears with the
orders for that user.
The shopping cart will be re-structured anyway, this is an interim solution.


Thanks very much,
Ingrid

> if not, try
>
>   insert into summary (custname, ordertotal)
>     select custname, sum(orderamt)
>   from orders
>      group by custname
>
> rudy
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list