Mysql Qurry help
#5

Solved this query works Sloppy but works.

-- Finding a Drop item from any MOb

-- Change value below of the item number to find

SET @a=603;

SELECT a_index, a_name FROM t_npc WHERE t_npc.a_item_0 = @a or t_npc.a_item_1 = @a or t_npc.a_item_2 = @a or t_npc.a_item_3 = @a or t_npc.a_item_4 = @a or t_npc.a_item_5 = @a or t_npc.a_item_7 = @a or t_npc.a_item_8 = @a or t_npc.a_item_9 = @a or t_npc.a_item_10 = @a or t_npc.a_item_11 = @a or t_npc.a_item_12 = @a or t_npc.a_item_13 = @a or t_npc.a_item_14 = @a or t_npc.a_item_15 = @a or t_npc.a_item_16 = @a or t_npc.a_item_17 = @a or t_npc.a_item_18 = @a or t_npc.a_item_19 = @a;

CLOSE TOPIC



Messages In This Thread
[No subject] - by CDWriter - 05-08-2013, 04:59 PM
[No subject] - by Koko - 05-08-2013, 05:59 PM
[No subject] - by CDWriter - 05-09-2013, 05:18 AM
[No subject] - by CDWriter - 05-10-2013, 05:21 PM
[No subject] - by CDWriter - 05-11-2013, 05:01 PM
[No subject] - by Koko - 05-11-2013, 05:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)