SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Full Text Search
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

noamg
Posting Yak Master

Israel
215 Posts

Posted - 03/10/2013 :  10:45:35  Show Profile  Reply with Quote
I need to write the following query, but in FullText search

select *
from Users
where CharIndex( 'abc', FirstName ) > 0

many thanks


Noam Graizer

UnemployedInOz
Yak Posting Veteran

Australia
54 Posts

Posted - 03/12/2013 :  08:03:58  Show Profile  Reply with Quote
-- something like
select *
from Users
where Contains( FirstName,'abc' )

Edited by - UnemployedInOz on 03/12/2013 08:04:23
Go to Top of Page

noamg
Posting Yak Master

Israel
215 Posts

Posted - 03/12/2013 :  09:03:46  Show Profile  Reply with Quote
Sorry, I means to '%abc%'. any thing which include 'abc'

Noam Graizer
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000