hello i jusst wrote an item sql code that would make it easyer for me to remove all the buyprice/sell price from the items ids that ive looked up instead of looking trough all pages in item_templates. heres the thing. when i execute the file it says sucess but when i restart server and login , the prices are still there on the items, also tried to delete the cache folder.
heres the code, can somebody tell me what im doing wrong here please?
Code:UPDATE item_template SET buyprice = 0 WHERE `entry`=23197 AND 27518 AND 22398 AND 22397 AND 23203 AND 22401 AND 22400 AND 22395 AND 22345 AND 23199 AND 22329 AND 11928 AND 23139 AND 22336 AND 19915 AND 18696 AND 13375 AND 14528 AND 13529 AND 18485 AND 18499 AND 14002 AND 13243 AND 20695 AND 22268 AND 13164 AND 11811 AND 13966 AND 13968 AND 13965 AND 13379 AND 18522 AND 22339 AND 21187
Code:UPDATE item_template SET sellprice = 0 WHERE `entry`=23201 AND 27518 AND 22398 AND 22397 AND 23203 AND 22401 AND 22400 AND 22395 AND 22345 AND 23199 AND 22329 AND 11928 AND 23139 AND 22336 AND 19915 AND 18696 AND 13375 AND 14528 AND 13529 AND 18485 AND 18499 AND 14002 AND 13243 AND 20695 AND 22268 AND 13164 AND 11811 AND 13966 AND 13968 AND 13965 AND 13379 AND 18522 AND 22339 AND 21187