MySQL Forums
Forum List  »  Newbie

Querying
Posted by: Scot Lester
Date: July 01, 2005 09:39AM

Hi

I am new to all this SQL stuff. But I am learning slowly.

I have a database with a lot of products in. I need to be able to run a statement (from a web page if poss) that will grab certain products by code, e.g. everything that starts with "TR??????" and then change all there prices either up or down a specified percentage?

Can this be done? and if so can you point me in the correct directions? or show me the code?

lamens terms:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if products = "brx?????" then increase price by "10%" or decrease size by "10%"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I would like a web page that has a text box to enter product code and a text box for +- percentage?

Am I asking to much? can this be done?

Many thanks in advance for any help.

Regards

Scot

Options: ReplyQuote


Subject
Written By
Posted
Querying
July 01, 2005 09:39AM
July 03, 2005 04:32PM
July 03, 2005 06:06PM
July 07, 2005 10:31AM
July 07, 2005 11:45AM
July 04, 2005 04:28AM
July 06, 2005 01:09PM
July 06, 2005 01:22PM
July 06, 2005 03:05PM
July 07, 2005 09:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.