Not sure if this is c++ or sql related. Figured it could be either.
I've got a quest that requires you to obtain an item from an npc, take that item to a specific location to charge it, then take the charged version back to the npc. Everything works up until you try to turn in the quest. It shows as completed in the quest log, but the gray question mark remains over the questenders head. If you drop the quest but keep the item and re take the quest it completes and you are able to turn in. You can also put the item in your bank and take it back out for it to complete.