From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA31658; Wed, 9 Oct 2002 16:34:24 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA32184 for ; Wed, 9 Oct 2002 16:34:23 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g99EYF526786; Wed, 9 Oct 2002 16:34:15 +0200 (MET DST) Received: from santenay.inria.fr (santenay.inria.fr [128.93.8.59]) by pauillac.inria.fr (8.7.6/8.7.3) with SMTP id QAA32317; Wed, 9 Oct 2002 16:34:15 +0200 (MET DST) Date: Wed, 9 Oct 2002 16:34:14 +0200 From: Maxence Guesdon To: caml-list@inria.fr, erik@aarg.net Subject: [Caml-list] OCamlODBC : help wanted Message-Id: <20021009163414.56b3875a.maxence.guesdon@inria.fr> Organization: INRIA X-Mailer: Sylpheed version 0.8.3claws (GTK+ 1.2.10; ) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, Erik Arneson would like to use bound parameters in ODBC queries. We would like to have something like : let db = new Ocamlodbc.data_base "foo" "bar" "baz" in let query = db#prepare "INSERT INTO mytable VALUES (?, ?)" in try db#begin_transaction; List.iter (fun x -> query#execute (nth x 1) (nth x 2)) [ [ "x"; "y" ]; [ "a"; "b" ] ] db#commit with SQL_Error(s) -> db#rollback ;; The problem is we're both quite busy at the moment. If you know about ODBC and OCaml and you don't know what to code these days, may be you can have a look at it. thanks, OCamlODBC : http://www.maxence-g.net/Tools/tools.html -- Maxence Guesdon ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners