Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Jan 14, 2000

Multiple Indexes

Question:
I'm creating a database to be used with a Web site. The database contains news stories, which will need to be indexed from a list of keywords that come from separate tables.

These index word tables are "Counties Mentioned," "Technologies Mentioned," "Industry Sectors Mentioned," and "Relevant To!" Each story can have anywhere from one to unlimited keywords from each table.

How do I implement this into a database?

Answer:
Big problem. Fortunately, Microsoft did its homework when they built SQL 7. The full-text engine can automatically build indexes for you of the keywords in your table. It allows linguistic searches and can easily return a list of rows by order of most relevant, as professional search engines do.

For more information, go to Books Online and search in the index using the words full text index or full text query.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date