• SELECT SUBSTRING(phonenumber,1,charindex('.',phoneNumber)-1) from table