Parameterized SQL queries?

2010-11-10 Thread Daniel Bell
I'm a newb to both SQL and Clojure, and after reading this post ( http://groups.google.com/group/clojure/browse_thread/thread/718fa1b725389639/4c4d7ed1492e082b?lnk=gstq=sql+parameterized#4c4d7ed1492e082b ) I was curious as to exactly it means to parameterize a query. Is it a way to automatically

Re: Parameterized SQL queries?

2010-11-10 Thread Dave Newton
On Wed, Nov 10, 2010 at 12:35 PM, Daniel Bell wrote: I was curious as to exactly it means to parameterize a query. Is it a way to automatically insert arguments into the query, a way to destructure the results, or what? The first of those, including SQL-quoting etc. Most JDBC tutorials will

Re: Parameterized SQL queries?

2010-11-10 Thread Sean Corfield
On Wed, Nov 10, 2010 at 9:35 AM, Daniel Bell dchristianb...@gmail.com wrote: I'm a newb to both SQL and Clojure, and after reading this post ( http://groups.google.com/group/clojure/browse_thread/thread/718fa1b725389639/4c4d7ed1492e082b?lnk=gstq=sql+parameterized#4c4d7ed1492e082b ) I was

Re: Parameterized SQL queries?

2010-11-10 Thread Saul Hazledine
On Nov 10, 6:35 pm, Daniel Bell dchristianb...@gmail.com wrote: I'm a newb to both SQL and Clojure, and after reading this post (http://groups.google.com/group/clojure/browse_thread/thread/718fa1b72... ) I was curious as to exactly it means to parameterize a query. Is it a way to automatically

Re: Parameterized SQL queries?

2010-11-10 Thread Daniel Bell
This is awesome, guys. Clear and helpful. Thanks a ton. And Sean, I actually already know how with-query-results worked...from studying the example on your blog. Thanks again! ---Daniel On Nov 10, 11:07 am, Saul Hazledine shaz...@gmail.com wrote: On Nov 10, 6:35 pm, Daniel Bell