MySQL database search help wanted

4 replies
I would like to be able to perform a search in my
MySQL database to find duplicate articles submitted
to my site.

The following code appears to work but I would like to limit
the amount of characters the search checks to save straining
the server, if possible.

SELECT COUNT(*), textArticleText FROM tblarticles
GROUP BY textArticleText
HAVING COUNT(*)>1;

Has anyone any idea how to limit the characters searched.

Any help appreciated.

Thanks

Terry
#database #mysql #search #wanted

Trending Topics