declare @xmmc char set @xmmc=null declare @qllx char set @qllx='1' if @xmmc is null ,@qllx!='3' BEGIN select * t end
else if @xmmc is not null ,@qllx!='3' BEGIN select * t END
else if @xmmc is null ,@qllx='3' BEGIN select * from t END
else if @xmmc is not ,@qllx='3' BEGIN select * from t END
这样报错 查不出 各位大神 请指教该怎么写