Glen Chen
2005-11-02 16:08:07 UTC
Hello, folks:
Could anybody kindly explain to me the difference b/w "NULL" and
"MISSING" when used in PROC SQL?
I didn't find any difference so far. Below is an example:
The only difference between the two PROC SQL blocks is NULL/MISSING. I
was given the same results from the two SQLs.
Any help is appreciated.
Glen
*================;
data test;
do value = "a","b","" ,"d"; output; end;
run;
proc sql;
create table aaa as
select *
from test
where value is not NULL;
quit;
proc sql;
create table bbb as
select *
from test
where value is not MISSING;
quit;
Could anybody kindly explain to me the difference b/w "NULL" and
"MISSING" when used in PROC SQL?
I didn't find any difference so far. Below is an example:
The only difference between the two PROC SQL blocks is NULL/MISSING. I
was given the same results from the two SQLs.
Any help is appreciated.
Glen
*================;
data test;
do value = "a","b","" ,"d"; output; end;
run;
proc sql;
create table aaa as
select *
from test
where value is not NULL;
quit;
proc sql;
create table bbb as
select *
from test
where value is not MISSING;
quit;