Wrox Programmer Forums
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 10th, 2006, 09:54 AM
Authorized User
Join Date: Jul 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default CONTAINS keyword usage


I am using the following SQL query on SQL Server 2000:

select result from marksheet WHERE CONTAINS(result,'P')

It gives the following msg:

Server: Msg 7601, Level 16, State 3, Line 1
Cannot use a CONTAINS or FREETEXT predicate on column 'result' because it is not full-text indexed.

After I enabled Full Text Indexing & Full Population on column result
i got this:

Server: Msg 7619, Level 16, State 1, Line 1
Execution of a full-text operation failed. A clause of the query contained only ignored words.

Anybody plz. guide me about it if i am using CONTAINS keyword correctly or something else need to be done.


Old July 12th, 2006, 08:53 AM
Friend of Wrox
Join Date: Dec 2005
Posts: 146
Thanks: 0
Thanked 1 Time in 1 Post

Using Microsoft Internet Information Services and Indexing Service for File Content Searches
"Noise Words
Noise-word lists for many languages are provided and the set of supported languages is growing. The choice of a particular noise-word list is based on the language of the material which is file-format-dependent during the filtering process: Some files have the language setting by section (for example, by paragraph), whereas some specify the language setting as a property of the document. These noise-word lists should be sufficient for most normal operations, but can be modified for specific environments with a text editor. For more information, see the Indexing Service 2.0 documentation in the Windows NT 4.0 Option Pack."

You simply need to search using meaningful terms. In preparing the full text index, the engine ignores the trivial and unimportant noise words. So search on something like perspiration or inspiration or Thomas Edison or genius.

David Lundell
Principal Consultant and Trainer
Old July 12th, 2006, 01:19 PM
Authorized User
Join Date: Jul 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks David.

Similar Threads
Thread Thread Starter Forum Replies Last Post
usage of cdata vsempoux XSLT 1 July 11th, 2008 08:38 AM
about the usage of ant wangpan J2EE 5 June 12th, 2007 06:57 AM
New keyword Usage John Pennington Beginning VB 6 4 August 8th, 2006 10:39 PM
Software usage [email protected] C++ Programming 0 October 15th, 2004 06:30 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.