Can someone tell me what this WHERE clause means?
SELECT *
FROM dbo.vw_EnrollSchedule
WHERE (dbo.vw_EnrollSchedule.AdEnrollRegistrationStatus & 513) != 0
The vw_EnrollSchedule
view has a column AdEnrollRegistrationStatus
which is of integer datatype, NOT NULL
column, and has a default value of zero, so will either be 0 or some value.
What does the
dbo.vw_EnrollSchedule.AdEnrollRegistrationStatus & 513
portion of the statement accomplish?
Just wondering about the syntax.