note 40599 deleted from function.ocibindbyname by sixd

From: Date: Wed, 20 Nov 2013 19:48:41 +0000
Subject: note 40599 deleted from function.ocibindbyname by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-197592@lists.php.net to get a copy of this message
Note Submitter: yepster at hotmail dot com ---- If you get ora-01460 you might want to check whether the OCIBindByName was done with -1 on a date field, which on bind time (not execute time) was bound to a php variable with size 0. (e.g.: $var=""; bind var to date with length -1; loop; $var=realdate; execute will give ora-01460 -> unreasonable or unimplemented conversion). Changing the initial $var to a good length, or do the bind with the right size of your date in string format representation instead of -1 will solve it.

« previous php.notes (#197592) next »