PreparedStatement
Hi,
I have been looking for a way to give a batch of commands to Mysql from Ruby. I have found the prepare(q) method but Ruby returns an
'undefined error". Even if it did work, it's not what I am looking for. I thought I would mention it because in Java PreparedStatement has the addBatch() method which is what i am looking for.
I tried passing multiple commands but I get a syntax error right where the second command starts. I tried separating the commands with a semicolon but no luck.
Any ideas?
Thanks,
Carl
http://www.gaihosa.com
Subject
Written By
Posted
PreparedStatement
January 28, 2008 07:33PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.