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

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

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