You will need to get that list and loop through it, you can't use CONTAINS - this can only be used on a column with Full-Text search capability.
 
if you are on SQL2K then its easier as you can write a UDF to handle list management....I have a whole host of these if you want them.
 
N
 
 
 


From: Matt Horn [mailto:[EMAIL PROTECTED]
Sent: 18 May 2004 12:00
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] CONTAINS

Hi
 
 I have a table with column containing a LIST of ID's
 
and I want to write a query that will return all records where the passed ID is in the list
 
something like
 
select stuff from table where URL.ID in (IDlist)
 
that obviously doesnt work
 
I am using access *run*
any help would be muchly appriciated
 
 Thanks
 
 Matt
 
|\--------------------/|
Matt Horn
Web Applications Developer
Ph:+2782 424 3751
W: http://www.matt-horn.org
E:[EMAIL PROTECTED]
|\--------------------/|

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com

Reply via email to