By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,514 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,514 IT Pros & Developers. It's quick & easy.

Help on Null

P: 1
Hi,

I have a column in the DB2 table and it is of type Decimal. I want to run a query to retrieve all the NULL from the table for that COLUMN. I dont want to is NULL in the query.

example :

INVOICE_LINE_ID
---------------
10
?
100
0
-1


Output :
?


Note : SHOULD NOT USE IS NULL
Jul 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: 2
lcm
just use the value function something like this " value(col name,0) = 0 "
Jul 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.