update t_sms_send set msg_flag = -1 where id in (select top 100 id from t_sms_send with (nolock) where msg_flag=-2)