<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx</link><description>In May 2008 I wrote a blog post entitled Fuzzyness where I put forward an argument for having the fuzzy lookup and fuzzy grouping functionality from SQL Server Integration Services (SSIS) in T-SQL. An excerpt from that blog post: Take the following list</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18698</link><pubDate>Mon, 09 Nov 2009 22:40:23 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18698</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Wow, that's excellent. Thanks for reporting!&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18713</link><pubDate>Tue, 10 Nov 2009 08:56:39 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18713</guid><dc:creator>Andy Clark</dc:creator><description>&lt;p&gt;I'm sure this is a good thing, and is important for comparing data that is not people's names such as addresses or telephone numbers.&lt;/p&gt;
&lt;p&gt;Soundex was developped for the US Census and hence is orientated towards people's names and the english pronciation of words.&lt;/p&gt;
&lt;p&gt;The key issue I've seen with the Soundex is that it relies on the first letter being the same. It's also been commented that Soundex is not good in comparing non english names, however I've never seen that myself.&lt;/p&gt;
&lt;p&gt;So for example are John Citson and John F. Kitson the same person?&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18716</link><pubDate>Tue, 10 Nov 2009 10:28:03 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18716</guid><dc:creator>dan</dc:creator><description>&lt;p&gt;Very interesting, potentially lots of applications in anti money laundering etc, Master Data Services seems a good place to locate it.&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18725</link><pubDate>Tue, 10 Nov 2009 22:50:39 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18725</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;I can't believe I hadn't seen this. I didn't even get a Google Alert on my name. Hmm...&lt;/p&gt;
&lt;p&gt;Thanks Jamie - now I just need to find the extra hours to get into all this (I feel another presentation's going to be prepared...)&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18765</link><pubDate>Thu, 12 Nov 2009 03:13:40 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18765</guid><dc:creator>Simon Sabin</dc:creator><description>&lt;p&gt;This isn't all that it seems. These haven't been added to the language. Rather they are contained within a MDM database which you have to deploy.&lt;/p&gt;
&lt;p&gt;I would be interested to know what redist there is on the database and the libraries.&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#18943</link><pubDate>Wed, 18 Nov 2009 16:40:48 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18943</guid><dc:creator>Tonci Korsano</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I got a google alert on this web page.&lt;/p&gt;
&lt;p&gt;My keyword was &amp;quot;&amp;quot;fuzzy lookup&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have other alerts like &amp;quot;fuzzy sql&amp;quot;, &amp;quot;fuzzy grouping&amp;quot;, etc.&lt;/p&gt;
&lt;p&gt;Thank you for the heads-up.&lt;/p&gt;
&lt;p&gt;Keep up this good work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Tonci.&lt;/p&gt;
</description></item><item><title>First sighting of SQL Server Master Data Services (MDS)</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#19075</link><pubDate>Sat, 21 Nov 2009 16:47:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19075</guid><dc:creator>SSIS Junkie</dc:creator><description>&lt;p&gt;I’m at SQLBits 5 today and I’ve just come out of Ian Marriott’s session where he talked about the forthcoming&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#26227</link><pubDate>Wed, 16 Jun 2010 15:26:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26227</guid><dc:creator>wBob</dc:creator><description>&lt;p&gt;See here for additional SQL 2008 R2 hidden function mdq.XmlTransform allowing you to use XSLT against XML in your database:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://beyondrelational.com/blogs/wbob/archive/2010/05/05/sql-2008-r2-mds-easter-egg.aspx"&gt;http://beyondrelational.com/blogs/wbob/archive/2010/05/05/sql-2008-r2-mds-easter-egg.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Fuzzy Logic and Regex come to T-SQL in SQL Server 2008 R2 – available now!</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2009/11/09/fuzzy-logic-and-regex-come-to-t-sql-in-sql-server-2008-r2-available-now.aspx#28150</link><pubDate>Sun, 22 Aug 2010 19:24:10 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:28150</guid><dc:creator>Joe Wilkerson</dc:creator><description>&lt;p&gt;I need fuzzy logic to find matches on distance (latitude, longitude) and dateTime stamp ... any thing within distance &amp;lt; x meters and with y seconds (of another entry) might be a match. &amp;nbsp;For my situation this is a cross join on 100s of billions of rows in even the simplest cases!&lt;/p&gt;
&lt;p&gt;I can code it easily with where clause functions as filters but I'm still trying to figure out how many 100s of hours it will run!&lt;/p&gt;
&lt;p&gt;Ultimately, I assume I will have to recode in c# for efficiency, but trying to get a working prototype done first in sql only.&lt;/p&gt;
&lt;p&gt;Fuzzy joins have many uses!&lt;/p&gt;
</description></item></channel></rss>