SqlServer Stored Proceedure

  • Hi all,

    Sorry if this is wrong place to write...

    My question is ..

    i do have a stored procedure which search text for me in a table.

    Now i need an other stored procedure which show related search...just like google search do...."did you mean" etc etc OR search instead etc etc

    How i can do this?

  • You could try to use FREETEXT search and see if it provides what you're looking for.

    http://msdn.microsoft.com/en-us/library/ms187787%28v=SQL.90%29.aspx



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • Let me Explain what i want to do......

    My Sp is given below

    Create PROCEDURE [dbo].[searchTest]

    @qry nvarchar(150)

    AS

    BEGIN

    SELECT COMPANYNAME,

    ADDRESS

    FROM vwSearchResult

    WHERE

    comp_kws like '%' + @qry + '%'

    END

    ===============

    Now i want to show those COMPANYNAME which have more characters matched....like

    if COMPANYNAME = 'abcd technology' and some one pass 'bcd'....then i want to select this COMPANYNAME...etc etc

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply