Thread
:
Help with MySQL commands
View Single Post
#
2
06-03-2010, 01:08 PM
Andrew80k
Dragon
Join Date: Feb 2007
Posts: 659
Now this is UNTESTED and since I don't have the table definitions in front of me I can't guarantee that this is correct. This is the syntax for updating a range.
UPDATE npc_types SET HP = 10 WHERE LEVEL >= 1 and LEVEL <= 10;
Andrew80k
View Public Profile
Send a private message to Andrew80k
Find all posts by Andrew80k