Home > Uncategorized > SQL server 2000 – Full text search

SQL server 2000 – Full text search

After hunting on the net, and in books for ages, I figured out how to set up a full text catalog using stored procedures

exec sp_fulltext_database @action=’enable’
exec sp_fulltext_catalog @ftcat = ‘TableName’,@action=’create’
exec sp_fulltext_table @tabname=’TableName’, @action=’create’,@ftcat=’TableName’,@KeyName=’PK_TableName’
EXEC sp_fulltext_column ‘TableName’,’SomeTextColumn’,’add’

EXEC sp_fulltext_table ‘TableName’,’activate’
exec sp_fulltext_table @tabname=’TableName’, @action=’start_full’

You need to have the MSSearch (support service) running on the SQL server, and this doesn’t work in MSDE.

 

 

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: