From: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Function to retrieve the Id column
Date: Thu, 24 Aug 2006 14:07:14 -0300
Message-ID: <55c095e90608241007t3d004a14w9720cd66a60772e@mail.gmail.com> (raw)
Hi list,
I have Id field that is used in all my database but my more often used
parameter is a column called "number" that I have in more than 5000 magnetic
cards, my question is.
How could I make a function to retrieve this Id just passing the number as
parameter, just like:
getCardId(number: varchar)
Best regards ...
Ezequias
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: ezequias.rocha@gmail.com
Subject: Re: Function to retrieve the Id column
In-Reply-To: <55c095e90608241007t3d004a14w9720cd66a60772e@mail.gmail.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