Prepared statements: choosing bind types
Posted by: Angus M
Date: January 18, 2006 12:15PM

Prepared statements seem awfully complicated compared to the standard ones. I prefered the simplicity of fields being returned as strings. What if I'm not particularly interested in the field type when calling mysql_stmt_bind_param()? Can I just give everything the type MYSQL_TYPE_LONG_BLOB (or maybe something smaller, if I know I can afford the space) and have integers be returned just like they are with the standard queries?

Options: ReplyQuote


Subject
Views
Written By
Posted
Prepared statements: choosing bind types
857
January 18, 2006 12:15PM


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.