Cursor need it?

Поиск
Список
Период
Сортировка
От Lucas Hernndez
Тема Cursor need it?
Дата
Msg-id 42A7044B.4080604@gmail.com
обсуждение исходный текст
Список pgsql-sql
I am a new postgres user

I want to get a list of tables from pg_tables where tables are like 
‘%wo%’ (for example).. and then query that list ….

Select count(*) from tableVARIABLENAMEFROMFIRSTQUERY

In SQL SERVER I can do that using cursor but in postgresql I don’t 
understand how to use cursors

Here is what I am trying to do
for each table on the list
Select tablename, count(*) tables from ( list of tables)

tablename tables
table1 25
table2 35

Any Idea would be appreciated

Thanks

Lucas



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

Предыдущее
От: KÖPFERL Robert
Дата:
Сообщение: Experience with splitting a Table transparently
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: How do write a query...