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 6E43053F8B for ; Thu, 14 Apr 2005 12:01:09 -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 97887-06 for ; Thu, 14 Apr 2005 15:01:05 +0000 (GMT) Received: from secf.com (209-128-104-244.bayarea.net [209.128.104.244]) by svr1.postgresql.org (Postfix) with ESMTP id 45A2353F8D for ; Thu, 14 Apr 2005 12:01:04 -0300 (ADT) Received: from dinesh by secf.com (MDaemon.PRO.v7.2.2.R) with ESMTP id md50000633585.msg for ; Thu, 14 Apr 2005 08:00:59 -0700 Reply-To: From: "Dinesh Pandey" To: "'Frank Bax'" , Subject: Re: Prepared query ? Date: Thu, 14 Apr 2005 20:28:20 +0530 Organization: Second Foundation India P Ltd. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0047_01C54130.821E32E0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcVBAn/P3W2GC7WuQj2i5p77FsLMdwAACLiQ In-Reply-To: <5.2.1.1.0.20050414105247.03e0b420@pop6.sympatico.ca> X-Authenticated-Sender: dpandey@secf.com X-Spam-Processed: mail.secf.com, Thu, 14 Apr 2005 08:00:59 -0700 (not processed: message from valid local sender) X-MDRemoteIP: 220.227.32.11 X-Return-Path: dpandey@secf.com X-MDaemon-Deliver-To: pgsql-sql@postgresql.org X-MDAV-Processed: mail.secf.com, Thu, 14 Apr 2005 08:01:02 -0700 Message-Id: <20050414150104.45A2353F8D@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.414 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_MESSAGE, MSGID_FROM_MTA_ID X-Spam-Level: * X-Archive-Number: 200504/196 X-Sequence-Number: 21089 This is a multi-part message in MIME format. ------=_NextPart_000_0047_01C54130.821E32E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am using PL/pgSQL. Thanks Dinesh Pandey _____ From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Frank Bax Sent: Thursday, April 14, 2005 8:24 PM To: pgsql-sql@postgresql.org Subject: Re: [SQL] Prepared query ? 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. ------=_NextPart_000_0047_01C54130.821E32E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am using PL/pgSQL.

 

Thanks

Dinesh Pandey


From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Frank Bax
Sent: Thursday, April 14, = 2005 8:24 PM
To: = pgsql-sql@postgresql.org
Subject: Re: [SQL] = Prepared query ?

 

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.

------=_NextPart_000_0047_01C54130.821E32E0--