Skip to content

Instantly share code, notes, and snippets.

@webdevwilson
Created February 4, 2012 19:14
Show Gist options
  • Save webdevwilson/1739559 to your computer and use it in GitHub Desktop.
Save webdevwilson/1739559 to your computer and use it in GitHub Desktop.
column priority sql search 1
SELECT Members.*, SEARCH_TBL.RANK AS rank
FROM Members INNER JOIN
FREETEXTTABLE(Members, *, ‘breakfast’) SEARCH_TBL
ON Members.memberID = SEARCH_TBL.[KEY]
ORDER BY rank DESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment