表结构:
ProductSeriesID 自动编号
ProductSeriesName 文本
ProductSeriesRe 备注执行前
ProductSeriesID ProductSeriesName ProductSeriesRe
2 LV铣刀系列 LV铣刀系列
3 钨钢舍弃式铣刀 钨钢舍弃式铣刀
4 钨钢舍弃式铣刀 刀头
5 钨钢舍弃式铣刀 钨钢抗震刀柄
6 高速钢舍弃式铣刀 高速钢舍弃式铣刀语句
update T_ProductSeries set ProductSeriesName = '钨钢抗震刀柄' and ProductSeriesRe = '钨钢抗震刀柄' where ProductSeriesID = 5
执行后:
ProductSeriesID ProductSeriesName ProductSeriesRe
2 LV铣刀系列 LV铣刀系列
3 钨钢舍弃式铣刀 钨钢舍弃式铣刀
4 钨钢舍弃式铣刀 刀头
5 -1 钨钢抗震刀柄
6 高速钢舍弃式铣刀 高速钢舍弃式铣刀
ProductSeriesID 自动编号
ProductSeriesName 文本
ProductSeriesRe 备注执行前
ProductSeriesID ProductSeriesName ProductSeriesRe
2 LV铣刀系列 LV铣刀系列
3 钨钢舍弃式铣刀 钨钢舍弃式铣刀
4 钨钢舍弃式铣刀 刀头
5 钨钢舍弃式铣刀 钨钢抗震刀柄
6 高速钢舍弃式铣刀 高速钢舍弃式铣刀语句
update T_ProductSeries set ProductSeriesName = '钨钢抗震刀柄' and ProductSeriesRe = '钨钢抗震刀柄' where ProductSeriesID = 5
执行后:
ProductSeriesID ProductSeriesName ProductSeriesRe
2 LV铣刀系列 LV铣刀系列
3 钨钢舍弃式铣刀 钨钢舍弃式铣刀
4 钨钢舍弃式铣刀 刀头
5 -1 钨钢抗震刀柄
6 高速钢舍弃式铣刀 高速钢舍弃式铣刀
2 0 LV铣刀系列
3 0 钨钢舍弃式铣刀
4 -1 刀头
5 -1 钨钢抗震刀柄
6 高速钢舍弃式铣刀 高速钢舍弃式铣刀
更新后怎么全是数字啊~~~~~~