|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-23 08:12 UTC] sniper@php.net
[2000-08-25 05:48 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
$sql1 = "SELECT id, the_date FROM a_table WHERE the_date < to_date('01-JAN-99')"; $stmt = OCIparse($conn, $sql1); OCIexecute($stmt); while(OCIfetch($stmt)) { ... } The PHP script above returns everything, including records newer than 01-JAN-99, from the table, whereas when I cut and paste the SQL statement into SQL*PLUS, the correct number of results is fetched.