or如下:
方法一
update A_table A set A.kk=55 where A.pp='88' or A.pp='99' ;分开写
方法二
update A_table A set A.kk=55 where A.pp='99' ;
update A_table A set A.kk=55 where A.pp='88' ;这两咱哪一种比较快,,???如果数据比较多的情况下.少数据无法分出哪种快.
请有这方面经验的朋友,给点意见,,非常感谢.
方法一
update A_table A set A.kk=55 where A.pp='88' or A.pp='99' ;分开写
方法二
update A_table A set A.kk=55 where A.pp='99' ;
update A_table A set A.kk=55 where A.pp='88' ;这两咱哪一种比较快,,???如果数据比较多的情况下.少数据无法分出哪种快.
请有这方面经验的朋友,给点意见,,非常感谢.
方法一
update A_table A set A.kk=55 where A.pp='88' or A.pp='99' ;or 换成exist语法会快些