Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 10th, 2006, 09:54 AM
Authorized User
Join Date: Jul 2006
Location: , , .
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.


Reply With Quote
  #2 (permalink)  
Old July 12th, 2006, 08:53 AM
Friend of Wrox
Join Date: Dec 2005
Location: , AZ, .
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
Reply With Quote
  #3 (permalink)  
Old July 12th, 2006, 01:19 PM
Authorized User
Join Date: Jul 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks David.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 rajesh@sonimtech.com C++ Programming 0 October 15th, 2004 06:30 PM

All times are GMT -4. The time now is 11:41 AM.

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