Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
i have a table with 2 fields Items and qty, i want to select the qty for an item and update it adding a new qty to the old
webfred
Master Smack Fu Yak Hacker
8781 Posts
Posted - 2011-07-15 : 09:54:32
update tableset qty = qty + 200 -- 200 is just an example for the new qty to addwhere item = 4711No, you're never too old to Yak'n'Roll if you're too young to die.