I have a columna name "home address" in which i have data like that ,mean there is house# with the street name,I want to fetch the column in house# & streetname 13480 lone point lane 4420 Douglas Ave. E 10655 birch St I want to show separate the house# & streetname so i need house# streetname 13480 lone point lane 4420 Douglas Ave 10655 birch St
A very weak way to do this would be something like: Code: SELECT SUBSTRING(column, 0, CHARINDEX(' ', column, 1)), SUBSTRING(column, CHARINDEX(' ', column, 1), 8000) FROM Table; However, I suspect that you will run into all sorts of issues with your real data. Might be worth thinking about a data scrubbing task that brings the data into a "better" normalised form.