MySQL alter table modify column failing at rows with null values

前端 未结 4 1851
野的像风
野的像风 2021-02-20 03:39

I have a table with about 10K rows, which I am trying to alter so that the field fielddelimiter is never null. I am attempting to do an alter statement, expecting a

4条回答
  •  一个人的身影
    2021-02-20 04:12

    If your column has NULL values, you can't alter it to be "NON NULL". Change the NULL values first to something else, then try it.

提交回复
热议问题