Re: Preventing Negative values in table. On Oct 31, 8:22 pm, Michael Fesser <neti...@gmx.de> wrote:
>
> Your application should catch that, not the DB. Don't let your users
> submit such values.
>
Indeed it should, but I would never rely on the UI alone to enforce
data integrity. Unfortunately I don't think MySQL has check
constraints. Triggers are probably the next best thing. |