eg:
update Order set Order.DeliverStatus=2 from PE_Orders Order
WHERE Order.InputTime<='2011-05-20' AND Order.OrderType = 0
eg:
update Order set Order.DeliverStatus=2 from PE_Orders Order
WHERE Order.InputTime<='2011-05-20' AND Order.OrderType = 0