服务器上的MySql的一个表text中有字段id是自增的 用select id from text
有38条记录,id到152
可用select * from text 会报错
用select * from text where id=152也会出错
我觉得是id为152的数据出现了问题 我现在想把它给删掉,执行完delete from text where id=152后
又用select id from text,可还是有id为152的记录,也就是说没有删除调
可执行其他的数据都是正常的,不管是添加,还是删除都是正常的
就上id为152的数据不知道怎么了,查看不了,也删除不了大侠HELP啊
有38条记录,id到152
可用select * from text 会报错
用select * from text where id=152也会出错
我觉得是id为152的数据出现了问题 我现在想把它给删掉,执行完delete from text where id=152后
又用select id from text,可还是有id为152的记录,也就是说没有删除调
可执行其他的数据都是正常的,不管是添加,还是删除都是正常的
就上id为152的数据不知道怎么了,查看不了,也删除不了大侠HELP啊
repaire table text;
repaire table text;
会对数据有影响吗?
我对数据库不熟
好像还要把数据库重启.