ChaosEMU/ChaosCore — comment on commit f93c089be69b5e3e554e4300cff5dcf0469f6d1b
File: src/server/scripts/Commands/cs_npc.cpp line 659
By Bizzy:

You should first check if that guid is already in that table and if so use "UPDATE".