Ask a Question related to PHP Development, Design and Development.
-
Rod #1
fetch out of sequence
Hi,
I would like to know if there is a similar function with OCI8 (oracle) to
this one: mysql_data_seek ?
I would like to do twice:
while (ocifetch($stmt)) {
....
}
How can I set the cursor to the first element?
Thanks your for your help
Rodolphe
Rod Guest
-
Gap Sequence
I have a problam , is anybody have idea about it? Is any module there which can find and print gap sequence? thanks -
sequence of function
Hi, Can someone tell me why it is happening or what can I do to correct it. I have a datagrid. On pressing it I want to call component function.... -
Problem with the sequence
Thanks that should help but what about the rest of the columns can u explain what is "is_cycled" and "cache_value". Thanks in advance. Richard... -
Motions in sequence
All, I am a new user to Director 3D. I am trying to create an interactive model in a GUI where the user has to demonstrate an... -
How to show a sequence?
Hi group, I've got a sequence (in a query): L L L N N L -
Andy Hassall #2
Re: fetch out of sequence
On Thu, 20 Nov 2003 09:41:27 +0100, "Rod" <toto@toto.com> wrote:
Scrollable cursors were only introduced in Oracle 9i; as far as I know, the>I would like to know if there is a similar function with OCI8 (oracle) to
>this one: mysql_data_seek ?
>
>I would like to do twice:
>while (ocifetch($stmt)) {
>...
>}
>
>How can I set the cursor to the first element?
PHP interface hasn't been updated to support the new calls to navigate within a
result set.
So you can only fetch forwards. If you want to go back, you will have to have
stored the results in an array yourself, or re-execute the query.
--
Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
Andy Hassall Guest
-
Rod #3
Re: fetch out of sequence
thanks you for your answer.
Rodolphe
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:0j5qrv4nmrvrlkh35iru2f7ae5ifgdmckm@4ax.com...the> On Thu, 20 Nov 2003 09:41:27 +0100, "Rod" <toto@toto.com> wrote:
>>> >I would like to know if there is a similar function with OCI8 (oracle) to
> >this one: mysql_data_seek ?
> >
> >I would like to do twice:
> >while (ocifetch($stmt)) {
> >...
> >}
> >
> >How can I set the cursor to the first element?
> Scrollable cursors were only introduced in Oracle 9i; as far as I know,within a> PHP interface hasn't been updated to support the new calls to navigatehave> result set.
>
> So you can only fetch forwards. If you want to go back, you will have to> stored the results in an array yourself, or re-execute the query.
>
> --
> Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
> Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
Rod Guest
-
ricco95 #4
fetch out of sequence
Has anybody experienced problems with an oracle error "fetch out of sequence"
in the follwing scenario:?
"select * from external linked table"
Where external table comes from a machine linked to the main database server.
This works in a cfquery but if I put it in stored procedure and then call it
from Coldfusion I get the dreaded out of sequence error.
Thanks for your help
ricco95 Guest
-
paross1 #5
Re: fetch out of sequence
What does your PL/SQL look like? Are you using a FOR UPDATE clause in a cursor by any chance and doing any kind of COMMIT within the cursor loop, etc.?
Phil
paross1 Guest
-
Stifenflaming #6
Re: fetch out of sequence
This error means that a fetch has been attempted from a cursor which is no longer valid. Note that a PL/SQL cursor loop implicitly does fetches, and thus may also cause this error.
http://www.alphaconfig.com/
Junior Member
- Join Date
- Jan 2011
- Location
- India
- Posts
- 2



Reply With Quote

