Cannot declare arrays?

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Cannot declare arrays?
Дата
Msg-id
3AAD72B0.DC5C7900@agliodbs.com
Список
Дерево обсуждения
Cannot declare arrays? Josh Berkus <josh@agliodbs.com>
Folks,
I'm trying to delcare an array (of type Numeric) within a PL/pgSQL
function.  No matter what syntax I try, however, I get a compile error. 
I've tried:

DECLARE
level_array NUMERIC(8,2)[];
level_array NUMERIC[](8,2);
level_array NUMERIC[];
level_array[] NUMERIC(8,2);

and even:
level_array MONEY[100];
Please help!

-Josh Berkus



-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete information technology      josh@agliodbs.com   and data management solutions       (415) 565-7293  for law firms, small businesses       fax  621-2533   and non-profit organizations.       San Francisco

В списке pgsql-sql по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: help
От: Alder
Дата:
Сообщение: SQL Dummy Needs Help
FAQ