How access to array component

Поиск
Список
Период
Сортировка
От Cristian Cappo
Тема How access to array component
Дата
Msg-id 3F180992.5070400@cnc.una.py
обсуждение исходный текст
Ответы Re: How access to array component  (Joe Conway <mail@joeconway.com>)
Список pgsql-sql
Hello  How access to especific array component
of an function with return type _varchar
  declaration of my function:
>>>  create or replace __function( int2, int2 ) returns _varchar ....
  now use the function in SQL and access to the element 1...
>>>  select __function(10::int2, 20::int2)[1]                  ^^^ parsing error.
  Thanks.


Cristian Cappo
-------------



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

Предыдущее
От: Andreas
Дата:
Сообщение: "Truncate [ Table ] name [Cascade]"?
Следующее
От: "Derrick Betts"
Дата:
Сообщение: Return a set of values from postgres Function