Convert 'C' function to SQL

This project was successfully completed by adelline for $30 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$10 - $30 USD
Completed In
1 day
Total Bids
Project Description

I want to convert the PHP function "SIMILAR_TEXT" into an SQL (preferably MYSQL) Function that returns a % match.
SIMILAR_TEXT is a fuzzy string matching function, but I want to use it via MYSQL, and to also return a % match.
You can try it out here : [url removed, login to view]

The function is very small, and written in 'C'. The original C code is attached within the 'string.c' file.
A simpler version in pure 'C' in the attached '[url removed, login to view]' file.

The end result should be a MYSQL (or SQL) FUNCTION of the type FN_SIMILAR_TEXT(str1, str2) RETURNS FLOAT;
that returns the % match between the two strings.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online