Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

SQL 2000 DBA Toolkit Part 3 Expand / Collapse
Author
Message
Posted Thursday, April 6, 2006 12:06 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/mcoles/sql2000dbatoolkitpart3.asp
Post #271686
Posted Wednesday, April 26, 2006 9:34 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132

Further reading resources

(forgot these in the article - sorry!):

Daitch-Mokotoff Soundex:  http://www.avotaynu.com/soundex.html

Double Metaphone:  http://www.ddj.com/184401251?pgno=2

Celko Improved Soundex:  http://books.elsevier.com/bookscat/links/details.asp?isbn=1558605762

NYSIIS:  http://www.dropby.com/NYSIIS.html

Jaro-Winkler:  http://www.dcs.shef.ac.uk/~sam/stringmetrics.html#jarowinkler

Levenshtein Edit Distance:  http://www.dcs.shef.ac.uk/~sam/stringmetrics.html#Levenshtein

Also a minor correction to the text of the article.

The article states that the Daitch-Mokotoff algorithm returns:

"...all-numeric values between 100000 and 999999"

This should read:

"...all-numeric values between 000000 and 999999"

 

Post #275751
Posted Friday, April 28, 2006 12:47 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 11:59 PM
Points: 1,353, Visits: 983

Mike,

Thank you very much for sharing these functions with us. We have a SQL 2005 Server where the Levenshtein Edit Distance function may be useful. What are the chances for this? Is it possible to purchase the source code, so that we can upgrade it?

Best regards

Henrik Staun Poulsen




Post #276100
Posted Tuesday, May 2, 2006 10:39 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132

Hi Henrik,

I sent you a message here on SSC.  If I didn't answer your questions fully, feel free to contact me directly via email. 

Thanks

Post #276878
Posted Wednesday, April 4, 2007 6:44 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132

FYI to Everyone:

Steve has made the source code (VC++ 7.1 solution) for this project available in a ZIP file from http://www.sqlservercentral.com/products/mcoles/default.asp.

Compilation of some parts requires Boost Library source (in particular the Regular Expression extended procedures require Boost).  Boost source is available for free download at http://www.boost.org/.

If you do download and compile the source, I highly recommend downloading the latest Platform SDK from http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en.

I've also been asked several times about the license for this toolkit.  Here it is:

DBA Toolkit License

The DBA Toolkit is composed of my original source code, and/or other source code that the original authors have placed in the public domain.  Credit has been given throughout the source code to those original authors, and their original licensing agreements have been maintained in the source code where appropriate.

You are free to use this source code and binaries however you want, modify it however you like, and use it for any purpose you like, personal or commercial.  All I ask is two things:

1.  If you redistribute the source code, modified or unmodified, give me a shout out in the comments or something

2.  If you do something really cool and make big and/or useful improvements, consider sharing it with the rest of the world (this is not mandatory, but it is the nice thing to do).  I'm particularly interested in the improvements people make to the source, and always appreciate the feedback.

Obviously the Boost Library is covered by Boost's own licensing agreement which you will need to observe if you decide to use the portions of code that interface with it (the Regular Expression functionality).  And Microsoft has their own licensing agreements you might need to review when before distributing programs compiled using the Platform SDK.

Post #356118
Posted Wednesday, May 30, 2007 4:10 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, July 18, 2007 12:01 PM
Points: 2, Visits: 1

In the NYSIIS algorithm I am getting what I believe is an incorrect result.  The algorithm states:

1.Transcode first characters of name:
MAC»MCC
KN»NN
K»C
PH»FF
PF»FF
SCH»SSS

But in my results, it doesn't look like the K is being replaced.

select dbo.fn_phon_nysiis('Karen'), dbo.fn_phon_nysiis('Caren')

 

-------- --------

KARAN CARAN

(1 row(s) affected)

 

 

Post #370081
Posted Wednesday, May 30, 2007 8:26 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132

Hi Dave,

I was able to confirm the issue and fix it.  I've resubmitted the recompiled binaries and the fixed source code to Steve and asked him to repost.  I also sent you a private message, in case you want me to send the ZIP file directly to you.

Thanks

Michael

Post #370133
Posted Tuesday, June 5, 2007 7:43 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, September 9, 2013 8:54 AM
Points: 1, Visits: 14
Does this work with MSSQL x64?


Post #371497
Posted Tuesday, June 5, 2007 7:50 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, April 14, 2014 4:18 PM
Points: 1,276, Visits: 1,132

Hi Conor,

I didn't compile it on x64, but the source code is available for download here: http://www.sqlservercentral.com/products/mcoles/default.asp.  If you download and compile the source code targeted for x64, I don't know of any reason it shouldn't work.  If you decide to test it on x64, I'd be interested in your results.

Thanks

Michael

Post #371499
Posted Thursday, April 24, 2008 9:37 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, March 2, 2009 9:42 AM
Points: 1, Visits: 14
Great Article.

The link for downloading the source doe is not working:
http://www.sqlservercentral.com/products/mcoles/default.asp

Any chance this code can be reposted.
Post #490050
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse