H
Hexman
Hello All,
In SS EE I have nulls in a column. I want to select and eventually change to a zero (its a smallint column). I've tried selecting 'null', 'dbnull',
etc. Then I read about the ISNULL function. From the example I got, I received the "...requires 2 arguments...." error. Read up on it but it
doesn't click with me.
Could someone explain the error? And secondly, how to select null fields?
Thanks,
Hexman
====================== Code Below ================
use CNDB
select * from cnmaster
where isnull(cnpick)
Msg 174, Level 15, State 1, Line 3
The isnull function requires 2 argument(s)
In SS EE I have nulls in a column. I want to select and eventually change to a zero (its a smallint column). I've tried selecting 'null', 'dbnull',
etc. Then I read about the ISNULL function. From the example I got, I received the "...requires 2 arguments...." error. Read up on it but it
doesn't click with me.
Could someone explain the error? And secondly, how to select null fields?
Thanks,
Hexman
====================== Code Below ================
use CNDB
select * from cnmaster
where isnull(cnpick)
Msg 174, Level 15, State 1, Line 3
The isnull function requires 2 argument(s)