当我进行更新查询时:
update sometable set somecolumn1='value' where somecolumn2 = 'value'
在phpMyAdmin
里面说0 rows affected. ( Query took 0.0048 sec )
但是当我这样做时:
select * from sometable where somecolumn2 = 'value'
返回一行,表示它确实存在。为什么该行没有得到更新?
当我进行更新查询时:
update sometable set somecolumn1='value' where somecolumn2 = 'value'
在phpMyAdmin
里面说0 rows affected. ( Query took 0.0048 sec )
但是当我这样做时:
select * from sometable where somecolumn2 = 'value'
返回一行,表示它确实存在。为什么该行没有得到更新?