Re: Doubt in stored procedure

Lists: pgsql-novicepgsql-sql
From: "satheesh Gnanasekaran" <satheeshravikumar(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org(dot)
Subject: Doubt in stored procedure
Date: 2006-06-20 06:25:03
Message-ID: e0923aac0606192325g5563be6ck667e51f1df27e6c3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice pgsql-sql

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

with regards,
Sathaa


From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: satheesh Gnanasekaran <satheeshravikumar(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Doubt in stored procedure
Date: 2006-06-22 14:26:26
Message-ID: 20060622142626.6393.qmail@web31801.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice pgsql-sql

i want to insert a values to a table using
> stored procedure. plz mail me the sample codes and examples. thanks in
> advance

This link has a few examples that might help:
http://www.postgresql.org/docs/8.1/interactive/plpgsql-expressions.html

This comes from the PostgreSQL manual. I would be a very good resource to use.

Regards,

Richard Broersma Jr.


From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>, satheesh Gnanasekaran <satheeshravikumar(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Doubt in stored procedure
Date: 2006-06-22 14:41:41
Message-ID: 20060622144141.69985.qmail@web31803.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice pgsql-sql

> This comes from the PostgreSQL manual. I would be a very good resource to use.

OOPS. I really meant, "IT would be a very good resource to use." :-D


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: satheesh Gnanasekaran <satheeshravikumar(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [SQL] Doubt in stored procedure
Date: 2006-07-01 05:50:35
Message-ID: 20060701055035.GZ17241@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice pgsql-sql

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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461