在phpmysql中运行下列命令,均不起作用:update table set subject = trim(`subject`) where `id` = 999;
或
update table set subject = trim(subject) where `id` = 999;第次运行后老是提示:
影响列数: 0 唉,找了一天了,还是不知怎么做,谢谢!
或
update table set subject = trim(subject) where `id` = 999;第次运行后老是提示:
影响列数: 0 唉,找了一天了,还是不知怎么做,谢谢!
|
|
表名???
看看你能不能选出数据 select * from yourTableName where `id` = 999;这个id是数值类型的还是字符串的?相应改一改
不过应该不是where的问题,我不加条件,也没用!
另外,id的类型为mediumint
set subject = trim(`subject`)