Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL] Obtaining random rows from a result set

From: Alban Hertroys <alban(at)magproductions.nl>
Date: Tue Sep 04 2007 - 11:44:52 EDT


Alban Hertroys wrote:
> To follow up on my own post, I came up with a workable solution based on
> scrolling cursors. The SP approach didn't work out for me, I didn't
> manage to declare a cursor in PL/pgSQL that could be positioned
> absolutely (maybe that's due to us still using PG 8.1.something?).

Doh! I mean I couldn't use MOVE FORWARD ALL IN _cur for some reason, it kept saying "Syntax error".

-- 
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
   7500 AK Enschede

// Integrate Your World //

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
Received on Tue Sep 4 13:34:43 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 11:17:40 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library