You could use the IN() function

WHERE FIELDNAME IN (LIST)

ex:

WHERE myID IN (1,2,3,4,5,6,7)


Duane Boudreau
CFExperts.Com


-----Original Message-----
From: Aaron Rouse [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 30, 2000 4:10 AM
To: CF-Talk
Subject: Access function in SQL Server



I am moving a site from an Access DB to SQL Server 7.0 and have run into a
function that was being used that is not supported in SQL Server 7.0  The
function is: InStr([start, ]string1, string2[, compare])  Is there a new
name for this function in SQL Server?

--Aaron

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to