Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to update pricing in products table

Status
Not open for further replies.

2424

Technical User
Jul 16, 2002
12
US
I would like to update the pricing of the products in my products table from the excel sheet provided by the manufacturer.

I want to change only the prices that are different.

here is what i have so far.

UPDATE PRODUCTS SET products.price = vendor.price
WHERE products.partnumber = vendor.partnumber and products.price <> vendor.price;


thanks in advance
 
Drop that in an update query and you should be good to go. Or are you getting errors of some sort?

Good Luck!

 
I had the wrong update statement. I appreciate the suggestion.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top