The Wake County Sheriff’s Office has full access to a database to tell whether a person booked for a crime is an illegal immigrant.