Subject | Re: [firebird-support] Trigger. Before and after |
---|---|
Author | Ivan Prenosil |
Post date | 2005-04-06T13:28:27Z |
> Just to assure me....Yes, just be aware that this expression will return NULL
>
> In a trigger that is defined as BEFORE UPDATE can I use
>
> OLD.SomeValue<>NEW.SomeValue
if one of values is NULL. I.e.
IF (OLD.SomeValue<>NEW.SomeValue)
THEN ... values are different ...
ELSE ... values are equal OR one or both values are NULL
Ivan
http://www.volny.cz/iprenosil/interbase/