Erlang/OTP Forums

Author Message

<  Erlang  ~  multiple insertions at once with odbc:param_query

viking
Posted: Thu Apr 02, 2009 12:29 am Reply with quote
Joined: 02 Apr 2009 Posts: 1
This seems to not insert multiple rows for me:

Code:
odbc:param_query(Ref, "INSERT INTO foo (bar) VALUES(?)", [{sql_integer, [1,2,3,4,5]}]).


Instead it returns {updated,1} and only inserts the first value.

I'm running Ubuntu (intrepid) with MySQL. Is this a driver issue or is there a bug somewhere?

TIA
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum