Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: Bigfam5Posted on 2003-05-23 at 18:22:30ID: 8575687
There are two methods you can use
UPDATE carts C SET format_code =
(select P.format_code
from prices P
where C.cart_item = P.cart_item
and BLAH BLAH BLAH )
WHERE exists
(select 1 from prices P2
where C.cart_item = P.cart_item
and BLAH BLAH BLAH )
/
OR
UPDATE (select P.cart_item as New_Cart_Item , C.cart_item as Old_Cart_Item
from prices P, carts C
where P.cart_item = C.cart_item
and BLAH BLAH BLAH )
set Old_Cart_Item = New_Cart_Item
/