How to resolve this error Field 'STATE_REGION' doesn't have a default value in MySQl 5.6 -


i had error following

field 'state_region' - field name doesn't have default value in mysql 5.6.

i fixed issue changing sql_mode = ''; in previous version of mysql

but failed in mysql 5.6

how fix issue in mysql 5.6. please appreciated.

got solution problem
add ignore after insert

insert ignore tblname(....

"insert ignore" vs "insert ... on duplicate key update"

thanks:)


Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -