一、將12345678910手機號變成123********select
left('12345678910',3)+'********'cas
二、case when departmentid in(select * from #temp) then left('12345678910',3)+'********' end 出現錯誤錯誤
應爲case when in(select * from #temp) then left('12345678910',3)+'********' end
由於when後面只能有一個值,而不是多個值