Update by query problem

I apologize, given the fact that i've been testing a lot of stuff, i activated the field_data in the 'mensaje' field. The problem was that the substring function couldn't operate on a field with that activated.

Sorry again, this topic is resolved.