select * from tbl_FSPRO_Members with (nolock) where ownerId > 0 and nullif( fspro_password, '' ) is not null and len( fspro_password ) < 64 and nullif( nullif( fspro_password_method, '' ), 'SHA256' ) is null update tbl_FSPRO_Members set fspro_password = , fspro_password_method = 'SHA256', changePasswordRequired = 'Y' where fspro_userId = and fspro_password =