Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Getting consecutive numbers

Author  Topic 

Petronas
Posting Yak Master

134 Posts

Posted - 2013-10-22 : 10:32:25
Hi,

I have a table with the following :
Cust id Address
1234 25 main street apt 78961
5678 25 ohio dr apt 567891
7890 25 lee lane apt 6789

I want to pull only the 6 consecutive numbers from my address field , so only cust id 5678 should be displayed.

Thank you for your help in advance,
Petronas

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2013-10-22 : 11:52:42
Duplicate Post:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=189041


Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -