Posts: 15
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Feb 2014
Reputation:
0
Hello guys i was wondering of theirs a sql code for this i am looking for.
Example theirs a item that needs item index "19" is their a replace sql code for this?
like to replace item index 19 in t_npc under a_item_1 (only) and it replaces all 19 with example 10?
Thanks.
Posts: 598
Threads: 31
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Apr 2013
Reputation:
0
UPDATE t_npc SET a_item_1 = 19 WHERE a_item_1 = 19
Or
UPDATE t_npc SET a_item_1 = 19 WHERE a_index = 19
That should work
Posts: 15
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Feb 2014
Reputation:
0
UPDATE t_npc SET a_item_1 = 19 WHERE a_item_1 = 19
Or
UPDATE t_npc SET a_item_1 = 19 WHERE a_index = 19
That should work
UPDATE t_npc SET a_item_1 = 19 WHERE a_item_1 = 19
Has Worked 100% Thanks
Posts: 98
Threads: 0
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Nov 2013
Reputation:
0
Hi.
As you got your answer, and your problem is solved, I am gonna move that topic to Solved section and mark it as solved.
Thanks,
-LCKB Staff