Posted by Erland Sommarskog on 02/07/06 01:19
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?
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|