Monday, May 21, 2012    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Jan 2007 >>
S M T W T F S
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

Categories
 • Acrobat (5) [RSS]
 • Adobe (117) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (39) [RSS]
 • AdobeMAX10 (34) [RSS]
 • AdobeMAX11 (28) [RSS]
 • AdobeMAX13 (1) [RSS]
 • AIR (299) [RSS]
 • Appearances (217) [RSS]
 • Books (86) [RSS]
 • CFEclipse (15) [RSS]
 • Cloud (1) [RSS]
 • ColdFusion (1482) [RSS]
 • ColdFusion Builder (23) [RSS]
 • Data Services (43) [RSS]
 • Fish Tank (5) [RSS]
 • Flash (368) [RSS]
 • Flex (565) [RSS]
 • Home Automation (5) [RSS]
 • HTML5 (35) [RSS]
 • JavaScript (3) [RSS]
 • Jobs (133) [RSS]
 • jQuery (15) [RSS]
 • JRun (14) [RSS]
 • Labs (63) [RSS]
 • LiveCycle (37) [RSS]
 • MAX (285) [RSS]
 • Mobile (257) [RSS]
 • PhoneGap (17) [RSS]
 • Regular Expressions (19) [RSS]
 • RIA (21) [RSS]
 • SQL (45) [RSS]
 • Stuff (554) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (167) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
January 4, 2007

Performing SQL Server FREETEXT Searches

FREETEXT provides a simple mechanism by which to perform SQL Server 2005 full-text searches, matching by meaning as opposed to exact text match. Here is a simple example:

SELECT *
FROM my_table
WHERE FREETEXT(column1, 'rabbit food');

FREETEXT(column1, 'rabbit food') means perform a FREETEXT lookup on column column1 looking for anything that could mean rabbit food (but not necessarily those two exact words, and not necessarily as a phrase).

You can also search across all columns indexed for full-text search by using FREETEXT(*, 'search text').

If double quotes surround a search term then that exact phrase is matched, not the meaning.

Comments
Excellent posts Ben, very helpful. Thanks.

One question, I'm assuming the full text searching is disabled in the Express version? Do you know for sure?
# Posted By todd sharp | 1/4/07 3:41 PM
Todd, I believe that that is correct. See http://msdn.microsoft.com/vstudio/express/support/...

--- Ben
# Posted By Ben Forta | 1/4/07 4:37 PM
Good link. Q 51 states:

SQL Server 2005 Express Edition with Advanced Services is a download that includes the SQL Server 2005 database engine, SQL Server 2005 Reporting Services, SQL Server 2005 Management Studio Express and Full-Text Search. SQL Server 2005 Management Studio Express will also be available separately as a download.

So it looks like full text is available (in the Advanced Services download).
# Posted By todd sharp | 1/4/07 4:43 PM
Yep, I guess so! :-)

BTW, Oracle 10g Express (which is amazing, I'll be blogging details soon) includes Oracle fulltext support.

I love this new trend of releasing Express versions, be it Oracle Express, SQL Server Express, or the really great VIsual Studio Express implementations.

--- Ben
# Posted By Ben Forta | 1/4/07 4:46 PM
Comparing the version limitations between Oracle, Microsoft, and IBM - the DB2 express level product (when I last checked) had the least amount of limitations from file size and processor limitation. In any case, I'm hoping in a year well see all three continue to evolve their express versions and create really substantial, free, entry level db products. Indeed, it's the DB2 entry version that got me going "hummm, maybe time to look at DB2".
# Posted By Stephen Cassady | 1/5/07 10:57 AM

  © Copyright 1997-2009 Ben Forta, All Rights Reserved