Hi I have simple query in Proc SQL to look for all ID = 0, but my result included both 1 and 0. The table is in a SQL Server. My query is below Proc SQL; Select StudentID from TBL_Student where StudentID = 0; quit; I had tried to the different in where clause but did not work : where put(studentid, $1.) = '0' where put(studentid, best.) = 0 where studentid = put(0, $1.) where studentid = put(0, 1.) Please help.
... View more