Skip to main content

Adam Dray

Member since Dec 11, 2008

Recent Blog Comments By Adam Dray

  • Ask Ben: Pulling SQL Records Based On A List Of IDs

    Posted on Sep 26, 2007 at 11:10 AM

    When I could trust my input data, I have used dynamic SQL queries with an IN statement: WHERE b.id IN (<cfoutput>#lstID#</cfoutput>) The IN statement essentially just becomes a series of OR statements in the query. Most RDBMSes enforce a maximum list size (probably around 256) and you... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel