Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Data mining text

Author  Topic 

specialfx24
Starting Member

2 Posts

Posted - 2009-04-02 : 10:11:47
Can someone help me with this:

HI, I have a text column in mssql, I would like to return the top 50 most popular words and their count(for all rows) excluding the words

i
a
it
the

The trouble is that each row contains a number of words (on average 100-200)

Any clue how to do this?

Nikos Katsikanis

blindman
Master Smack Fu Yak Hacker

2365 Posts

Posted - 2009-04-02 : 12:09:39
Your best method is to parse the strings into a temporary table with a record for each word.

________________________________________________
If it is not practically useful, then it is practically useless.
________________________________________________
Go to Top of Page

specialfx24
Starting Member

2 Posts

Posted - 2009-04-02 : 14:00:42
Cool, how exactly do I loop through words in ms sql row?

Nikos Katsikanis
Go to Top of Page
   

- Advertisement -