Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> fetch out of sequence

fetch out of sequence

From: search <gerry_at_village.uunet.be>
Date: Thu, 30 Oct 2003 14:38:32 +0100
Message-ID: <3fa11465$0$20506$ba620e4c@reader1.news.skynet.be>


Hi there ,

see code below :

$conn = OCILogon("user", "pwd" , "DB");
$stmt = OCIParse($conn,"select * from tabel");
OCIExecute($stmt);
while ( OCIFetch($stmt) ) {

.........................................}

I wanted to see a simple oracle table on my webpage....

If I use this code for an oracle table hosted on an windows server, it works fine.

If I use this code for an oracle table hosted on a unix server , then I receive : ORA-01002: fetch out of sequence . However the select is working via sql-net.

I 'm using apache service included with oracle 9.2.

What can be going wrong ?

Gerry Received on Thu Oct 30 2003 - 07:38:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US