"Boulitchev Aleksey" <[EMAIL PROTECTED]> wrote:
>
>> и в чем разница с:
>>
>> if (B = NULL) then
>>  -- never can execute this code
>> else
>>  -- instead we do this
>>
>> ?
> в том что есть
> if (B is null)

case
when B = 1 then '1'
when B is null 'unexpected bla-bla-'
else ...
end

ась?

просто надо четко понимать, что делает CASE.


--
Дмитрий Еманов




--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---

Ответить