View Single Post

   
  #5 (permalink)  
Old 02-29-2008, 06:19 PM
Hugo Kornelis
 
Posts: n/a
Default Re: Searching/Estracting numerical data

On Mon, 6 Feb 2006 23:19:18 +0000 (UTC), Erland Sommarskog wrote:

>Hugo Kornelis (hugo@perFact.REMOVETHIS.info.INVALID) writes:
>> The function you would use to find where a three digit sequence in
>> varchar data is located is
>>
>> POSINDEX ('%[0-9][0-9][0-9]%', CharData)

>
>patindex, you mean, n'est-ce pas?


Ah, oui, c'est vrai!!

Thanks for the catch, Erland!

--
Hugo Kornelis, SQL Server MVP
Reply With Quote