Re: Prepared statements: choosing bind types
Posted by: Hasani Blackwell
Date: January 18, 2006 02:42PM

I believe the server does implicit type conversions...If the binds can be converted to the destination type, the server will perform the conversion.

E.x.:
I have the table
AGE(name VARCHAR(255), age INT)

Doing
INSERT INTO AGE VALUES(?, ?)

WHERE both parameters are CStrings should work. I'll double check w/ my code tonight though.

Options: ReplyQuote


Subject
Views
Written By
Posted
852
January 18, 2006 12:15PM
Re: Prepared statements: choosing bind types
396
January 18, 2006 02:42PM


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.