Subject | Re: [firebird-php] seek function in php for firebird rs? |
---|---|
Author | Marius Popa Adrian |
Post date | 2003-10-09T17:18:11Z |
On Wed, 08 Oct 2003 17:27:23 +0200
Milan Babuskov <albis@...> wrote:
We need this function implemented or emulated , have some db functions that works
on mssql, mysql , and now we implement them for firebird .
It is something like ADOdb and the query must run on all db types
Yah ms-sql doesn't have "first x skip y" .. yuck ( but they have xml ;))
Milan Babuskov <albis@...> wrote:
> Marius Popa Adrian wrote:Thanks i think this we gonna do (is a good ideea)
> >>>>>that move the current pointer to an offset
> >>>>>anyone know about this ?
>
> > sorry about that link i meant this function
> >
> > http://www.php.net/manual/en/function.mysql-data-seek.php
> >
> > There is something like this in sybase too
>
> AFAIK, Firebird doesn't support bidirectional cursors (yet), so this
> feature doesn't exist, i.e. you can only "go" forward. If you only need
> to go forward, just do the dummy fetch for all rows you want to skip.
>
> Lester wrote about ADOdb giving resultset as array. If this is the array
> of all rows (I guess it is), then you could browse through that array
> for the row you need.
>
> --
We need this function implemented or emulated , have some db functions that works
on mssql, mysql , and now we implement them for firebird .
It is something like ADOdb and the query must run on all db types
Yah ms-sql doesn't have "first x skip y" .. yuck ( but they have xml ;))