Searching table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Louis777
    New Member
    • Jul 2007
    • 7

    Searching table

    Hello, I have a table with a column named Title (varchar(50)) and a column named Tags (varchar(250)). What is the best way to do a search on these two fields? Similar to YouTube.

    I am new at SQL Server 2005 express.

    Thanks for your help, if there is an article you know about that will help lots too.

    Louis.
  • jojo41300000
    New Member
    • Apr 2007
    • 32

    #2
    Use CONTAINS and FREETEXT.

    CONTAINS search the exact or prefix match whereas FREETEXT search partly matching.

    Hope it helps.

    Jason.

    Comment

    • Louis777
      New Member
      • Jul 2007
      • 7

      #3
      Thanks Jason.

      Is this better than Full-Text Search?

      Louis

      Comment

      Working...