|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-25 14:21 UTC] thies@php.net
[2000-07-25 14:22 UTC] thies@php.net
[2000-08-04 11:32 UTC] stas@php.net
[2000-08-04 11:35 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 04:00:02 2025 UTC |
After speaking with oracle, they claim i am not inserting an integer when doing this. I was also asked to set an environment variable to ensure i'm using 7 bit ascii. I can rewrite the function in perl and succeed with it. --- if(!$stmt=OCIParse($dbh,"delete from mstats where job_num=$jobnum and message_id=to_number(:mid)")) return(0); OCIBindByName($stmt,":mid",&$mid); foreach ($messageIDs as $mid) { settype($mid,"Integer"); print gettype($mid); if(validMessageId($mid)) OCIExecute($stmt); } -- i use the settype to just make sure, as well as the to_number. php/oracle generates this error. OCIStmtExecute: ORA-01460: unimplemented or unreasonable conversion requested in [filename and line number] help!