Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / February 2005

Tip: Looking for answers? Try searching our database.

search in multiple columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben  Jakob - 22 Feb 2005 14:15 GMT
hello

The situation is the following: I have table names "authors" with the
columnes
Hilary Cotter - 22 Feb 2005 15:18 GMT
this seems to be an incomplete post

With SQL 2005 you can specify which columns you wish to search. With SQL
2000 you can specify 1 column or all columns (*), or you could do an or
query

Select *From TableName where contains(Col1, 'SeachPhrase') or contains(Col2,
'SeachPhrase') or contains(Col3, 'SeachPhrase') ....

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> hello
>
> The situation is the following: I have table names "authors" with the
> columnes
John Kane - 22 Feb 2005 16:11 GMT
Ben,
Could you post the full output of -- SELECT @@version -- as this would be
most helpful in understanding your FTS question based upon the subject
"search in multiple columns" of this posting.

Assuming you're using SQL Server 2000 and want to search across or in
multiple columns either in one table or from multiple table, you may want to
checkout my blog entry on this subject - "SQL Server FTS across multiple
tables or columns" at:
http://spaces.msn.com/members/jtkane/Blog/cns!1pWDBCiDX1uvH5ATJmNCVLPQ!316.entry

If you provide more information, I can provide you with more specific
examples.

Thanks,
John
Signature

SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/

> hello
>
> The situation is the following: I have table names "authors" with the
> columnes
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.