Are you sure it's blowing up because it's null? Might want to try a simple select * from stg.users where try_convert(int,home_location_id) is null.
I'm sure the syntax is wrong there.
I've run...
- This reply was modified 6 months, 2 weeks ago by daytonbrown2. Reason: added comment