If Not Exists( Select IP From IP Where IP = @IP )
Update AD Set IPToday = IPToday + 1 Where ID = @ID
和
Select IP From IP Where IP = @IP
if @@rowcount>0
Update AD Set IPToday = IPToday + 1 Where ID = @ID
哪种方法好?
Update AD Set IPToday = IPToday + 1 Where ID = @ID
和
Select IP From IP Where IP = @IP
if @@rowcount>0
Update AD Set IPToday = IPToday + 1 Where ID = @ID
哪种方法好?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货