Executing arbitrary SQL against a DB connection

I need to do a bulk INSERT statement in a database.

How do I just run an INSERT statement given a particular connection?

Like connection.execute(“blah…”)

Thanks,
Wes

Wes G. wrote:

I need to do a bulk INSERT statement in a database.

How do I just run an INSERT statement given a particular connection?

Like connection.execute(“blah…”)

Thanks,
Wes

Sorry all - I see the execute method now - 'doh!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs