The three most important things in software development are consistency, consistency, and consistency. So unless there's a compelling reason NOT to be consistent, be consistent wherever you can. If you just get in the habit of using CFQUERYPARAM everywhere, you'll never have to think about what type of database you're using. And when you upsize from Access to a real DB, you'll be thankful.
I did find that some early versions of MySQL's 3.23 series actually caused SQL error with the bind variables, so that would be an exception, I suppose, but other than that.... cheers, barneyb On 6/27/05, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>Much simpler (but the same) meaning, is just that you should NEVER > > >>have hashes inside CFQUERY tags, unless they are also inside > >>CFQUERYPARAM tags. > > Beside the fact that use of CFQUERYPARAM may make queries more efficient, > the main advantage is to prevent SQL injection. > But what if one uses an Access database ? AFAIK, SQL injection uses multiple > SQL statements, > but since multiple SQL statements are not supported in Access datasources, is > CFQUERYPARAM so important with Access ? > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210632 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

