Did you notice that I changed this:
' WHERE '||COLUMN_NAME_VAR||'=10
to something else, did you notice I put it in BOLD and have you thought why I might have done that?