I am trying to run this query SELECT * FROM Student WHERE DIFFERENCE(FirstName,'Joe')>=2. I am using SQL Server CE database. I a The function is not recognized by SQL Server Compact Edition. error every time. How do I implement a Soundex search in SQL Server CE and VB.NET
I am trying to run this query SELECT * FROM Student WHERE DIFFERENCE(FirstName,’Joe’)>=2 .
Share
To be honest I think that the closest you will come to anything like soundex is the Like function. SQL Server CE only has a very limited set of functionality and is only really for CRUD applications. If you absolutely need to have soundex then I would suggest using SQL Server Express instead.
Another option would be Lucene.net. Have a look at this question
Available functions in SQL Server Compact