Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with UPDATE
Message
From
11/09/2001 01:55:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Need help with UPDATE
Miscellaneous
Thread ID:
00554995
Message ID:
00554995
Views:
40
Hi,

I have 2 tables (stocka & stockb). I need to update the qty field for all records in stocka with it's original vale plus the value stored in stockb.

Both table structures are identical with the pk field being barcode.

Something like this...

UPDATE stocka set stocka.qty = stocka.qty + (select qty from stockx where barcode = stocka.barcode).


Regards
Doug Johnston
Next
Reply
Map
View

Click here to load this message in the networking platform