From: Rehan Saleem <pk_rehan@yahoo.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: PostgreSQL Function
Date: Wed, 18 Jan 2012 01:10:42 -0800 (PST)
Message-ID: <1326877842.18699.YahooMailNeo@web121606.mail.ne1.yahoo.com> (raw)
hi
i want to create a function in postgresql that take input for columns from user for example first_name , last_name, addres. and will put them into table , and i also want to use exception if user enters wrong data. will some one help me how can i create thats function , because i am new to postgresql . i know how to do it in MS-SQL , i also have that code .if you dont understand what am trying to say . i can post sql code .thanks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pk_rehan@yahoo.com
Subject: Re: PostgreSQL Function
In-Reply-To: <1326877842.18699.YahooMailNeo@web121606.mail.ne1.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox