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.
| Author |
Topic |
|
Jas_The_Ace
Starting Member
15 Posts |
Posted - 2009-06-16 : 10:33:39
|
HelpI've got a list of productsProdID......Product-------------------1...........Mountain bike2...........road bus3...........Mountain Carthen I used term extraction to make a table of all the nouns:TermID.....Term----------------1..........mountain2..........bike3..........road4..........bus5..........carNow I want to index the two tables together to find out which term came from which product. Result will be like this:TermID......ProdID------------------1...........11...........32...........13...........24...........25...........3So what's wrong with this SQL?SELECT A.TermID, B.ProdIDFROM tblProduct BCROSS JOIN tblTerm AWHERE CONTAINS(B.Product, A.Term) ThanksJason |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-06-16 : 11:31:11
|
| duplicatehttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=127668 |
 |
|
|
|
|
|