Re: FETCH and MOVE

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Waldomiro <wmiro(at)shx(dot)com(dot)br>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: FETCH and MOVE
Date: 2003-08-21 02:24:32
Message-ID: 1061432672.1666.84.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

No, there is no way to do what you want.

If you only want to go to John, why not add the where clause?

Dave
On Wed, 2003-08-20 at 08:18, Waldomiro wrote:
> Hello,
>
> In a table indexed by name, I created a cursor like this :
>
> BEGIN TRANSACTION;
>
> DECLARE cursor1 FOR SELECT NAME FROM AUTHORS ORDER BY NAME;
>
> What should I do when I want to move to author wich name is John ?
>
> Are there anyway to Move with Strings ?
>
> I don't know how much I need to move the cursor to John.
>
> Are there any function that show me how much I need to move the cursor
> to John ?
>
> Can anybody help me ?
>
> Thanks.
>
> Waldomiro C Neto.
> Shx Informática Ltda.
> +55 (11) 5581-1551
> www.shx.com.br
> wmiro(at)shx(dot)com(dot)br
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter van Heusden 2003-08-21 10:37:30 Retrieving interval types with JDBC and Postgres
Previous Message Barry Lind 2003-08-21 01:46:54 Re: CVS JDBC driver will try to use server-side-prepare on