devxlogo

Multiple Indexes

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.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist