If I'm right, he wanted to know how to do that = learn, not just do it = wannabe
Giving out a query was not helpful if he didn't understand what it does..
If so:
Then you need to:
------------------
1-Get ID from _RefObjCommon
Code:
Select ID from _RefobjCommon where CodeName128 like '%NPC_CODE_HERE(WC IS the donwhang shortcode)%'
2- Check dwTacticsID based on dwobjID
Code:
Select dwTacticsID from Tab_Reftactics where dwObjID='ID you got from RefOBjcommon'
3- delete it:
Code:
DELETE FROM TAB_REFNEST WHERE DwTacticsID='ID you got from 2nd query'
-------------------
IF not then you don't need to understand, you want ready work, and you shouldn't be doing this.