X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 168BA53F7E for ; Thu, 14 Apr 2005 11:54:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96428-01 for ; Thu, 14 Apr 2005 14:54:17 +0000 (GMT) Received: from tomts22-srv.bellnexxia.net (tomts22-srv.bellnexxia.net [209.226.175.184]) by svr1.postgresql.org (Postfix) with ESMTP id 4681E53D83 for ; Thu, 14 Apr 2005 11:54:10 -0300 (ADT) Received: from acer.sympatico.ca ([65.95.168.196]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050414145415.JIYQ21470.tomts22-srv.bellnexxia.net@acer.sympatico.ca> for ; Thu, 14 Apr 2005 10:54:15 -0400 Message-Id: <5.2.1.1.0.20050414105247.03e0b420@pop6.sympatico.ca> X-Sender: b1wudu74@pop6.sympatico.ca X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 14 Apr 2005 10:54:00 -0400 To: pgsql-sql@postgresql.org From: Frank Bax Subject: Re: Prepared query ? In-Reply-To: <20050414143144.1704853689@svr1.postgresql.org> Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.723 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_40_50, HTML_MESSAGE, MIME_HTML_ONLY X-Spam-Level: X-Archive-Number: 200504/193 X-Sequence-Number: 21086 At 10:28 AM 4/14/05, Dinesh Pandey wrote:
How can I
  1. Write a prepared query and
  2. Set values at run time and
  3. Execute that query for different values.

Depends on what language you are using - try interfaces mailing list.