Home All Groups Group Topic Archive Search About
Author
13 Aug 2005 7:16 AM
Rama via SQLMonster.com
from a string like - [text].[text].[text].&[1]&[4], I need to extract the
numbers alone.
Can someone help me with a function that searches and returns the numbers
within the "&[ ]" pattern?

thank you!


--
Message posted via http://www.sqlmonster.com

Author
13 Aug 2005 8:42 AM
Roji. P. Thomas
Look at the PATINDEX function in BOL


--
Roji. P. Thomas
Net Asset Management
http://toponewithties.blogspot.com


Show quote
"Rama via SQLMonster.com" <fo***@SQLMonster.com> wrote in message
news:52C5123420ADD@SQLMonster.com...
> from a string like - [text].[text].[text].&[1]&[4], I need to extract the
> numbers alone.
> Can someone help me with a function that searches and returns the numbers
> within the "&[ ]" pattern?
>
> thank you!
>
>
> --
> Message posted via http://www.sqlmonster.com

AddThis Social Bookmark Button