case Pid when 0 then null else Pid end Pid 转载于:https://www.cnblogs.com/lishenglyx/archive/2008/12/09/1351185.html