From shyamperi@davlin.co.in Tue Aug 26 18:03:46 2003 X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id E0FE1D1B8B6 for ; Tue, 26 Aug 2003 15:03:46 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 79523-08 for ; Tue, 26 Aug 2003 15:03:16 -0300 (ADT) Received: from davlin.co.in (ns.vasnet.net.in [202.4.160.11]) by svr1.postgresql.org (Postfix) with ESMTP id 71D45D1B4F0 for ; Tue, 26 Aug 2003 15:03:09 -0300 (ADT) Received: from Application (unknown [202.4.160.30]) by davlin.co.in (Postfix) with ESMTP id 69F3B14B78 for ; Tue, 26 Aug 2003 23:15:48 +0530 (IST) Message-ID: <2014547.1061920385739.JavaMail.tomcat@mail.davlin.co.in> From: shyamperi@davlin.co.in To: pgsql-sql@postgresql.org Subject: Fetch the required rows Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_158_905013.1061920385591" Date: Tue, 26 Aug 2003 23:15:48 +0530 (IST) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/310 X-Sequence-Number: 14926 ------=_Part_158_905013.1061920385591 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable August 26th 2003 11:30p How do I get the required number of rows thru a query.. I mean...If I want to show 10 tuples per page.. instead of getting all the = tuples from the relation and do some front end manipulation, is there any w= ay by which I can get only 10 required tuples from the relation Have a grate day ----- Warm Regards Sh=FFam Peri II Floor, Punja Building, M.G.Road, Ballalbagh, Mangalore-575003=20 Ph : 91-824-2451001/5 Fax : 91-824-2451050=20 DISCLAIMER: This message contains privileged and confidential information a= nd is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------=_Part_158_905013.1061920385591 Content-type: text/html Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=Untitled1

August 26th 2003
11:30p
How do= I get the required number of rows thru a query..
I mean...If I want to = show 10 tuples per page.. instead of getting all the tuples from the relati= on and do some front end manipulation, is there any way by which I can get = only 10 required tuples from the relation

Have a grate day

-----
Warm Regards
Sh=FFam Peri

II Floor, Punja Building,
M.G.Road,
Ballalbagh,
Mangalore-575003=20
Ph : 91-824-2451001/5
Fax : 91-824-2451050=20




DISCLAIMER: This message contains privileged and confidential information a= nd is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------=_Part_158_905013.1061920385591-- From bruno@wolff.to Tue Aug 26 18:07:56 2003 X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 49FB2D1B897 for ; Tue, 26 Aug 2003 15:07:56 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 83338-05 for ; Tue, 26 Aug 2003 15:07:45 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 2D042D1B8D5 for ; Tue, 26 Aug 2003 15:07:44 -0300 (ADT) Received: (qmail 18367 invoked by uid 500); 26 Aug 2003 18:13:39 -0000 Date: Tue, 26 Aug 2003 13:13:39 -0500 From: Bruno Wolff III To: shyamperi@davlin.co.in Cc: pgsql-sql@postgresql.org Subject: Re: Fetch the required rows Message-ID: <20030826181339.GC17741@wolff.to> Mail-Followup-To: shyamperi@davlin.co.in, pgsql-sql@postgresql.org References: <2014547.1061920385739.JavaMail.tomcat@mail.davlin.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2014547.1061920385739.JavaMail.tomcat@mail.davlin.co.in> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/311 X-Sequence-Number: 14927 On Tue, Aug 26, 2003 at 23:15:48 +0530, shyamperi@davlin.co.in wrote: > August 26th 2003 > 11:30p > How do I get the required number of rows thru a query.. > I mean...If I want to show 10 tuples per page.. instead of getting all the tuples from the relation and do some front end manipulation, is there any way by which I can get only 10 required tuples from the relation You can use limit and offset to do this.