判断是否为NULL

select @area = area from mobile where mobile = left(@MobileNum,7)  -----取到省份   if @area is null  set @area = 'kuka'
相关文章
相关标签/搜索