Archive for the 'MSSQL' Category
4.11.08 MSSQL - Fast Character Field Loose-Comparison category: Coldfusion Development, MSSQL
0
comm

Another absolute gem that a coworker of mine, Scott Fitzpatrick, found as part of our continuing database optimization was how to compare character fields fast if doing a “loose” comparison. Say we wanted to find a row where the field was O’BRIEN but we wanted to match on OBRIEN. We have previously been using a [...]

4.11.08 MSSQL Functions To Strip Non-AlphaNumeric and Non-Numeric Characters In Character Fields category: MSSQL
0
comm

Thanks to Dan Venor and Scott Fitzpatrick and a little help isolating the ASCII Character values here are a two functions for use with inline MSSQL queries to strip non-alphanumeric and non-numeric characters in character fields respectively. This comes in handy if you’re using older versions of mssql that do not have regex (regular expression) [...]

0.318s