Michael Koziarski wrote:
On 6/22/05, Jack Christensen wrote:
I can send single SQL statements through connection.execute with no
problem. But if I try to send multiple statements separated by
semicolons, I get back MySQL errors. How do I send multiple statements
at once?
I don''t believe mysql supports this, you''ll need to call
connection.execute multiple times.
I''m pretty sure I could do this in ADO.NET. Also, aren''t
multiple sql
statements the principle way for destructive SQL injection attacks? I
suppose this could actually be a security feature if these can''t work.
I can live with multiple connection.execute statements; it just
surprised me it didn''t work.
--
Jack Christensen
jackc-/SOt/BrQZzOj3I+7jmQ39gC/G2K4zDHf@public.gmane.org
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails