Yes this is very neat, thanks to all who posted, that fixed the issue. Very
nice.

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

-----Original Message-----
From: Dave Watts [mailto:dwatts@;figleaf.com] 
Sent: Friday, November 01, 2002 5:39 PM
To: CF-Talk
Subject: RE: Cfqueryparam and IN


> No, you can use CFQUERYPARAM
> 
> <cfset myList="203,197">
> 
> <cfquery name="myQuery" datasource="#DSN#">
> select *
> from myTable
> where
>       salesPersonID IN (<cfqueryparam cfsqltype="CF_SQL_VARCHAR" 
> value="#myList#" list="Yes" separator=",">) </cfquery>

Wow, that's neat! I wasn't aware you could do that. I'll have to try that
out!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to