How to set value range to a column in mysql? -
i want set value range column of table.
example decimal decimal, decimal column should allow insert or update value between 0 30.
thanks in advance...!
as mysql still doesn't support check constraints, way in mysql trigger (for update , insert) checks new value of column , throws error if value outside valid range.
Comments
Post a Comment