Thread
:
Search Items table
View Single Post
#
3
05-25-2009, 10:25 PM
AndMetal
Developer
Join Date: Mar 2007
Location: Ohio
Posts: 648
You can also use bitwise AND (&):
Code:
SELECT * FROM items WHERE races & '512' AND classes & '512'
This would select all items that can be used by an Ogre Shaman, not just items that can
only
be used by an Ogre Shaman.
Hope this helps.
__________________
GM-Impossible
of '
A work in progress
'
A non-legit PEQ DB server
How to create your own non-legit server
My Contributions to the Wiki
AndMetal
View Public Profile
Send a private message to AndMetal
Visit AndMetal's homepage!
Find all posts by AndMetal