Developer Programmer
دوشنبه 02 دی 1387, 18:00 عصر
میخوام سطرهایی از region رو که مقدار null دارند پیدا کنم و به جای null رشته is empty بنویسم...منتها رشته is empty رو بر نمی گردونه.
use northwind
go
select companyname,region=
case region
when null then 'is empty'
else region
end
from customers
use northwind
go
select companyname,region=
case region
when null then 'is empty'
else region
end
from customers