473,692 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search: CONTAINSTABLE

I'm trying to write a query to associate to an alternate key. Can
someone provide the right syntax/keyword I need to accomplish this?

Here's the line that keeps giving me the error (Operand type clash:
uniqueidentifie r is incompatible with int):

JOIN CONTAINSTABLE(V ocabularyFrench , *, 'FORMSOF(INFLEC TIONAL,
"remorques" )') SRCH ON P.PRODUCT_ID = SRCH.[KEY]

Thanks,

Jeff

Jun 18 '07 #1
1 2202
On Jun 19, 2:32 am, jeffejohn...@ho tmail.com wrote:
I'm trying to write a query to associate to an alternate key. Can
someone provide the right syntax/keyword I need to accomplish this?

Here's the line that keeps giving me the error (Operand type clash:
uniqueidentifie r is incompatible with int):

JOIN CONTAINSTABLE(V ocabularyFrench , *, 'FORMSOF(INFLEC TIONAL,
"remorques" )') SRCH ON P.PRODUCT_ID = SRCH.[KEY]

Thanks,

Jeff
Instead of * (all columns ) , provide columns list which are of data
type character ( char,varchar,nv archar)

Jun 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6046
by: dave | last post by:
I am wondering if the following can be done. I want to setup a search page that utilizes full text searching in sql2000. I want the user to type in say "where is bill" and have the query search across multiple columns in multiple tables and return a single list of results so that i can show unique records that are returned. The problem is that my data for 1 record is split across multiple tables so that the search has to occur in each
1
1254
by: jtreuting | last post by:
I am building a front-end search on a website to serach through the contents of a full-text enabled databsae. I have everything set-up and working using FREETEXTTABLE. Here is what I want to do. When a user types in a search phrase that has a couple words in quotes, I want it to do an AND for those instead of the normal OR that freetexttable seems to do. Is there something built into SQL Server that can handle this or do I need to...
1
4755
by: Markus Weber | last post by:
Hi All, we have a problem with the Full Text Catalog Search. We use the following SQL Statement for matching companies from a table: select company, lastname, firstname, pkcustomers, fkcustomers, location, title, fkFunktionen, TypeOfPosition from customers where (fkcustomers = 0 or fkcustomers is null) and active = 1
6
3329
by: DC | last post by:
Hi, I am programming a search catalogue with 200000 items (and growing). I am currently using the SQL Server 2000 fulltext engine for this task but it does not fit the requirements anymore. The products typically do have a verbose name, "canadian superapples: red tasty juicy macintosh apple from toronto" and the like. If a customer is looking for "canadian apple" this product needs to match, but also if he is looking for "juicy mac".
0
1244
by: Brian Reaburn | last post by:
Hello All: I have been struggling to find out what could possibly be wrong with this piece of code. From my understanding of the CONTAINSTABLE Function and using parameters with a query, this should work. Obviously, I'm missing something! I have confirmed that the variable strField does contain the proper value to be used in the CONTAINSTABLE function. For whatever reason, it does not like the syntax of it. Please take a look.... any...
3
1649
by: Pieter | last post by:
Hi, I need some search system, that will return me the records with in indicator of probability. This is for a VB.NET 2005 application with a SQL Server 2000 DataBase. I have a table with different columns in which the user needs to search. In case the search-routine finds the exact match (the same part of the sentence) it should return that record with a 100%-indicator. If it finds all the words in it, but not in that order:...
2
1712
by: Alan Silver | last post by:
Hello, I have been trying the DataSet in VS2005, to see if it will simply some basic data access. So far it seems very useful, but I have run into a problem when trying to use a parameter for containstable (free text searching). If I enter a parameter in the containstable clause of a query... containstable(TaxTips, TipTitle, 'isabout (@kwords)')
0
1759
by: Skywick | last post by:
Hi I am trying to do a full text search with a column name for the search term. I can do this using LIKE with: SELECT tblContent.ID FROM tblContent INNER JOIN #keywords ON tblContent.words LIKE '%' + #keywords.keyword + '%' But I can not seem to do this using the CONTAINS syntax. eg.
0
1705
by: padmajapenmetsa | last post by:
Hi, We have the full text search table and are using CONTAINSTABLE to search in the fulltext search column, its workingfine, but we have a requirement that we need to return results which match a particular sequence in word. ex: The search text column has the word as 0203456-345567 if we give the input as " 0203456", the result is coming and showing the above column, but if we search for " 203456" no results return,
0
8547
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9090
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8969
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8810
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6462
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5822
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
1962
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.