setting max value on numeric value overflow (MYSQL) -


i use mysql. when inserting rows table, have numeric overflow on signed int column:

data truncation: out of range value column xxx @ row yyy 

i want db handle quietly, assigning max value column in overflowed rows.

do have way elegantly?


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -