Re: stored function, multiple queries, best practices

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: stored function, multiple queries, best practices
Дата
Msg-id 443FAF52.901@opencloud.com
обсуждение исходный текст
Ответ на stored function, multiple queries, best practices  (Ash Grove <ash_grv7@yahoo.com>)
Ответы Re: stored function, multiple queries, best practices  (Ash Grove <ash_grv7@yahoo.com>)
Список pgsql-jdbc
Ash Grove wrote:

> I currently do this by building a delimited string in
> the application containing all data to be inserted and
> then sending it, via callablestatement, to a stored
> function. The function parses the string, does the
> inserts and returns the primary key via a registered
> out parameter.

Why assemble a string and parse it? Why not just use multiple parameters
directly?

-O

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

Предыдущее
От: Ash Grove
Дата:
Сообщение: stored function, multiple queries, best practices
Следующее
От: Ash Grove
Дата:
Сообщение: Re: stored function, multiple queries, best practices