in reply to Re^2: How can I improve the sql statements applying efficiency
in thread How can I improve the sql statements applying efficiency
With a little more information, we might be able to provide a bit better guidance. A couple of unsubstantiated notes:
update the_table set price=price*1.2 where material='iron' update the_table set price=price*1.1 where material='plastic'
update the_table set price=17.54 where the_key=123 update the_table set price=1.50 where the_key=125 update the_table set price=15.00 where the_key=126 ...etc...
If you can provide a dozen or so records (sanitized, of course), we could look things over and see if we can offer suggestions.update the_table set price=price*2 where material='iron' update the_table set drop_ship=1 where is_heavy=1 or is_large=1
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I improve the sql statements applying efficiency
by littlehorse (Sexton) on Jul 25, 2010 at 07:38 UTC |