"Dmitry Yemanov"
>> в том что есть
>> if (B is null)
>
> ась?
>
> просто надо четко понимать, что делает CASE.
execute block
returns (REASON integer)
as
declare variable B integer;
begin
B = null;
REASON = case B
when 1 then 130
when 0 then 0
when (B is null) then 131
else 133
end;
suspend;
end
Dynamic SQL Error.
SQL error code = -104.
Token unknown - line 10, column 19.
is.
вот.
--
Булычев Алексей
http://www.stella-npf.ru
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---