select @count= count(1) from TB_name where ...... IF @COUNT=0 insert into TB_name ........ ELSE BEGIN update Tb_name ....... END [email protected]=count(1) 着句话什么意思,能说明……