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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -