Ruby on Rails
Thursday, December 23, 2010
Yep I got it. So much trouble with the script so I missed the obvious.
But, I still don't understand why the place holder for the update
statement doesn't work: I mean that syntax:
update_sql = "update SHARE set COMPANY_LOGO = ? WHERE ID =
8982167534873685924";
stmt = myconnect.prepare(update_sql)
stmt.execute(data)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment