Can you store a 0 in a database?

It sounds like an obvious question but I'm trying to reset a counter by writing zero do the DB used to track the counter.

It seems like It's not working.