Re: How to pass array of values to a stored procedure

Поиск
Список
Период
Сортировка
От Curtis Scheer
Тема Re: How to pass array of values to a stored procedure
Дата
Msg-id 031936836C46D611BB1B00508BE7345D048DABB8@gatekeeper.daycos.com
обсуждение исходный текст
Ответ на How to pass array of values to a stored procedure  (Curtis Scheer <Curtis@DAYCOS.com>)
Список pgsql-sql
Thanks Tom and Tony for the help, I actually implemented the solution using
a bpchar[] and hopefully the "field1 = ANY (arrayvalue)" syntax will not
hurt the query performance a lot without an index scan. 

Thanks again,
Curtis

On 7/18/06, Tony Wasson <ajwasson@gmail.com> wrote:
> On 7/18/06, Curtis Scheer <Curtis@daycos.com> wrote:
> > Does anyone have any examples of how I would make a stored procedure in
> > plpgsql that would allow for passing a list or arrays of values to be
used
> > in an sql IN clause?  Like so: select * from table where field1 in
(values).
> >


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Aaron Bono"
Дата:
Сообщение: Re: hi let me know the solution to this question
Следующее
От: Osvaldo Kussama
Дата:
Сообщение: Re: Like with special character