Click here to Skip to main content
15,439,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
want to extract good and bad comments separately from comments table

i have a database table name tblcomments which has 1000s of comments from customer all over the world... now we want to separate good and bad comments from it by words used through text mining in Sql server 2008 R2 Buisness intelligence tool....


will appreciate any response

thanks
hussain
hussain.[DELETED]@gmail.com

[edit]SHOUTING removed, Spurious big and bold removed, Email removed - OriginalGriff[/edit]
Posted
Updated 11-Apr-13 2:22am
v2
Comments
OriginalGriff 11-Apr-13 8:22am     CRLF
1) DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously. 2) Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know.
RobCollins 12-Apr-13 3:20am    
What specifically is your question? What have you tried so far? You won't get a very good answer if you're not specific about what you need.

Thousands of comments is not really that much. IMHO you don't need any special business intelligence tool for this. Just go with simle query like this

SQL
SELECT *
FROM tblComments
WHERE commentColumn LIKE '%bad_word_1%' or
commentColumn LIKE '%bad_word_2%' or
commentColumn LIKE '%bad_word_3%' or
commentColumn LIKE '%bad_word_4%' 
 
Share this answer
 
There are several articles on MSDN[^]
There's also a free ebook on the subject - here is just one of many links to ithttp://www.ebooksdownloadfree.com/Databases/Data-Mining-with-Microsoft-SQL-Server-2008-BI2278.html[^]
There's even a whole site dedicated to the subject http://www.sqlserverdatamining.com/ssdm/Home/FAQ/tabid/55/Default.aspx[^]
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900