This might be what you require.
CREATE TABLE #Address(HomeAddress VARCHAR(75))
INSERT INTO #Address
SELECT '13480 lone point lane' UNION ALL
SELECT '4420 Douglas Ave. E' UNION ALL
SELECT '10655 birch St'
SELECT SUBSTRING(HomeAddress,1,(CHARINDEX (' ',HomeAddress,1)-1)) AS 'House #'
,SUBSTRING(HomeAddress,(CHARINDEX (' ',HomeAddress,1)+1), DATALENGTH(HomeAddress)) FROM #Address
Result:
House#street name
13480lone point lane
4420Douglas Ave. E
10655birch St
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please read[/url]
Before posting a performance problem please read[/url]