Search Items table
I am trying to think of a way to search the items table for gear for a specific race or class only. For example, I want to be able to search the items table for Ranger or Warrior only gear.... or Froglok only gear.
Any ideas? |
Code:
SELECT * FROM Items WHERE Classes=<calculate bitmask> Code:
classes Code:
races |
You can also use bitwise AND (&):
Code:
SELECT * FROM items WHERE races & '512' AND classes & '512' Hope this helps. |
I am not sure what this question doing in George's Tools forum - unles the poster wanted to know how to find froglok only items using George Item editor =)
In editor you click ADVANCED in top left conner and select desired race at the buttom PS. We may want to consider creating a separate "SQL Help" forum =) |
All times are GMT -4. The time now is 07:13 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.