programming in pgsql

Поиск
Список
Период
Сортировка
От Angshu Kar
Тема programming in pgsql
Дата
Msg-id df8328740601071427j7c8101d7w835899205ca4251d@mail.gmail.com
обсуждение исходный текст
Ответы Re: programming in pgsql  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Hi Pgsql,

Could anyone please advise whether the following program can be implemented using pgsql cursors/anythign else (or do we need some external scripts)?If yes, could you give please some function names etc?

select A from Bcluster where pvalue = 0.3
--say we get A=8
select B, A_child from CCluster where A = 8
--If we get a A_child (say we get A_child=7) from the above query we search that value in CCluster table again and store the Bs in some place as:
select B, A_child from CCluster where A = 7
--We do this till we get all Bs and no more A_childs
--We display and store the Bs for further usage

Thanks,
AK

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

Предыдущее
От: Dave Steinberg
Дата:
Сообщение: Re: PGError: server closed the connection unexpectedly
Следующее
От: Marcos José Setim
Дата:
Сообщение: Performance Low Using the Prepare and Execute