Solved

SQL SERVER 2005 full text search Question

Posted on 2009-05-14
4
176 Views
Last Modified: 2012-05-07
Hi,

I have to implement full text search on sql server  tables. It is already implemeted on a column(EmpName) in one of the table Employee. I need to swich to a different column(Resume) and also needs to implement on two new tables.

Could any one help me out on this. Here is the existing stored proc.
ALTER PROCEDURE [dbo].[SearchFullTextContent] 

@paramQuery nvarchar(200)

AS

BEGIN

	-- SET NOCOUNT ON added to prevent extra result sets from

	-- interfering with SELECT statements.

	SET NOCOUNT ON;
 

    -- Insert statements for procedure here

	select empID from Employee

	where  freetext(Employee.EmpName, @paramQuery) 

END

Open in new window

0
Comment
Question by:r_pat72
  • 2
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
Comment Utility
0
 

Author Comment

by:r_pat72
Comment Utility
I went through the above link. Here is the my questions :

1) For enable full text search for different table do i have to create new catalogs for all new tables.
2) After creating the full text index on columns, Do I have to do anything for Full text search implementation.
3) How can I test that it is working as expected.
4) Is there any performance improvement that I can do on this?


Please help me with this.

Thanks.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
Comment Utility

>1) For enable full text search for different table do i have to create new catalogs for all new tables.
Since you already have a catelog, you dont really need to create another one, anyway creating one wont be so bad
>2) After creating the full text index on columns, Do I have to do anything for Full text search implementation.
You need to populate the data, right clicking on the table, scrollig over full text index and selecting "start full population"
>3) How can I test that it is working as expected.
Check the execution plans using a 'LIKE' statement and a FREETEXT/CONTAINS statement
4) Is there any performance improvement that I can do on this?
Full text indexes guarentee faster dataretrieval on varchar / txt columns
0
 

Author Closing Comment

by:r_pat72
Comment Utility
Thanks for your quick help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now