Re: SQL For smarties

Поиск
Список
Период
Сортировка
От Graham Vickrage
Тема Re: SQL For smarties
Дата
Msg-id NDBBJABDILOPAOOMFJHOGEAMDEAA.graham@digitalplanit.com
обсуждение исходный текст
Ответ на Re: SQL For smarties  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Ответы Re: SQL For smarties  (Jeff Eckermann <jeff_eckermann@yahoo.com>)
Re: SQL For smarties  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
I am trying to create tables from within a funtion i.e.

create function _tree_create(text) retuns int as '
begin;
create table $1_tree (....);
return 1;
end;
...

select _tree_create('item');

An error message refering to $1 gets thrown up. Is this not possible to do
or is there another way of doing it?

Thanks in advance.

Graham




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

Предыдущее
От: clayton cottingham
Дата:
Сообщение: Re: comparision chart
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: SQL For smarties