[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: forcing null values into #variables?
- Subject: Re: forcing null values into #variables?
- From: mahesh bhor <mgbhor@HOTMAIL.COM>
- Date: Mon, 14 Dec 1998 13:53:55 PST
Steve ,
If Sybase supports NULL value in numeric field , then you can check
the variable directly instead of assigning to a numeric variable .
begin-select
.....
null &n
if isnull(&n)
.............. Processing for null
else
................ Processing for not-null values including 0
end-if
from ...
end-select
Hope this helps .
Mahesh
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com