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
Re: SQL For smarties
Список 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 по дате отправления: