Fetching from cursor.... - Mailing list pgsql-general

From Nilesh A. Phadke
Subject Fetching from cursor....
Date
Msg-id Pine.OSF.4.21.0004061255220.22456-100000@csgrad.cs.vt.edu
Whole thread Raw
List pgsql-general
Hello ,
 I want to fecth random rows from a table ... I have defined a cursor
like

EXEC SQL DECLARE C CURSOR FOR SELECT * FROM tablename ;

Now I want to fectch nth row from the table without actually having to
fetch all n-1 rows before i get to the nth row of the table....

Any help is most welcome....
Thanks,
Nilesh.


pgsql-general by date:

Previous
From: "Moray McConnachie"
Date:
Subject: Re: Accelerating subqueries
Next
From: "Kevin Heflin"
Date:
Subject: large text fields