Hi,
Apologies i'm failry new to SQL and am really struggling with this UPDATE query.
I have two Tables "Stock" and "Stock Master"
They both have "ItemNo" fields and also "Quantity" fields.
All I want to do is transfer the "Quantity" from "Stock to "StockMaster " where the "ItemNo" is the same in both tables.
I've tried all variations of UPDATE and INNER JOINS etc but can't seem to figure this out.
Any advise would be greatly appreciated!
Cheers
Chris
Apologies i'm failry new to SQL and am really struggling with this UPDATE query.
I have two Tables "Stock" and "Stock Master"
They both have "ItemNo" fields and also "Quantity" fields.
All I want to do is transfer the "Quantity" from "Stock to "StockMaster " where the "ItemNo" is the same in both tables.
I've tried all variations of UPDATE and INNER JOINS etc but can't seem to figure this out.
Any advise would be greatly appreciated!
Cheers
Chris