Re: Create table doesn't work in plpgsql

Поиск
Список
Период
Сортировка
От Keith Wong
Тема Re: Create table doesn't work in plpgsql
Дата
Msg-id 4.3.2.7.0.20001224143826.0284b160@mail.e-magine.com.au
обсуждение исходный текст
Ответ на Re: Create table doesn't work in plpgsql  (Volker Paul <vpaul@dohle.com>)
Список pgsql-sql
I believe a couple of months back... a EXECUTE command was added to plpgsql 
to allow users to dynamic sql statements.

So if you get the current development version you should be able to call

EXECUTE CREATE TABLE ....

or whatever sql you like. (I think this is still not in 7.03, not sure though)

I'm not sure about the exact syntax, but if you look in past threads for 
"execute" I'm sure you'll find it.

Have fun.

Merry Xmas.
Keith.

At 02:00 PM 22/12/2000 +0100, Volker Paul wrote:
> > Can this be done using tcl or perl?
>
>I'll try them and report what I find out.
>
>V.Paul



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Create table doesn't work in plpgsql
Следующее
От: "Joe Conway"
Дата:
Сообщение: Fw: Optimization recommendations request