View Single Post
  #2  
Old 06-03-2010, 01:08 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

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;
Reply With Quote