X-Original-To: pgsql-novice-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C7A489FA319 for ; Sat, 1 Jul 2006 02:50:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 38865-01 for ; Sat, 1 Jul 2006 02:50:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 6557E9FA0EC for ; Sat, 1 Jul 2006 02:50:37 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 8723C56445; Sat, 1 Jul 2006 00:50:36 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Sat, 1 Jul 2006 00:50:35 -0500 Date: Sat, 1 Jul 2006 00:50:35 -0500 From: "Jim C. Nasby" To: satheesh Gnanasekaran Cc: pgsql-novice@postgresql.org Subject: Re: [SQL] Doubt in stored procedure Message-ID: <20060701055035.GZ17241@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060701:satheeshravikumar@gmail.com::X1zByCy3jHS1b9iI:0000000000 0000000000000000000000004g2Q X-Hashcash: 1:20:060701:pgsql-novice@postgresql.org.::3nv/Nva/WTVpkNkl:000000000 0000000000000000000000001jLR X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/10 X-Sequence-Number: 16977 On Tue, Jun 20, 2006 at 11:55:03AM +0530, satheesh Gnanasekaran wrote: > hi, > > iam a novice in postgresql. i want to insert a values to a table using > stored procedure. plz mail me the sample codes and examples. thanks in > advance Just create a plpgsql stored proc with an insert statement in it. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461