Hi all: I have a problem with the php function "ocifetchstatement($stmt,$table)" where $stmt comes from: $stmt=ociparse($conn,$query); ociexecute($stmt); The problem is that I can't call to this function twice or more times with the same $stmt. It appear the following message: Warning: OCIFetchStatement: ORA-01002: fetch out of sequence in .... I would like to know some way to rewind $stmt in order to get a cursor pointing to the beginning of the query or something else to solve this problem. Sergio -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]