Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ssmani84
Starting Member
20 Posts |
Posted - 2010-07-08 : 07:52:45
|
hi Friends,I need to add Existing row value and new value in tableex,ProductID QTY1 52 103 5here the productid 1 is having QTY 5 now i update this Qty to 25how do i form the query add QTY 5+20=25ssmaniyadav |
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2010-07-08 : 07:56:35
|
UPDATE ProductTableSET QTY = QTY + 20WHERE ProduxctID = 1 |
 |
|
ssmani84
Starting Member
20 Posts |
Posted - 2010-07-08 : 08:36:25
|
Thanks RickD..ssmaniyadav |
 |
|
|
|
|