I am using a simple proc sql with a data set which contains millions of records. The code is like PROC SQL NOPRINT; CREATE TABLE TABLE1 SELECT * FROM DM.TABLE WHERE COMPANY="xxx" ; Now I ran the code again with PROC SQL NOPRINT; CREATE TABLE TABLE2 SELECT * FROM DM.TABLE WHERE COMPANY="xxx" ; Now I am doing a proc compare without any by variable. PROC COMPARE BASE=TABLE1 COMPARE=TABLE2; Now proc compare compares the two data sets observation by observation or with a ID variable. ID variable is absent. What I think proc compare shold give exact matching. But though the rowcount is same it is giving some difference. When applied by variable on the primary key of the source data set,it is giving the exact match. Why it is happening can anybody help?
... View more