Re: [SQL] Function to retrieve the Id column

2006-08-24 Thread Michael Fuhr
On Thu, Aug 24, 2006 at 02:07:14PM -0300, Ezequias Rodrigues da Rocha wrote: > 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

[SQL] Function to retrieve the Id column

2006-08-24 Thread Ezequias Rodrigues da Rocha
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