Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need some easy SQL help


Kroggers

Recommended Posts

Posted

We have a need to do a blanket price update on all products in our database periodically due to exchange rate changes. As I do not know SQL, I was hoping someone here could help.

 

I am not looking for something complex, or a cool contribution. i am happy to use the phpMyAdmin interface to run the SQL statement manually. All it has to do is update all prices by a given amount or reduce all prices by a given amount ie - update all prices by +0.25 or by -0.25

 

Any help is really appreciated :)

Posted

I hate the "easy help" line when asking for help.

 

It's not easy for you or you'd do it.

 

UPDATE `products` SET products_price = products_price + 0.25

Posted

Thank you very much. I probably should have chosen my words better. It is hard for me with no SQL experience, but I assumed it to be easy for someone who knows hat they are doing - like you...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...