Re: [ADMIN] Function with Array

2007-01-23 Thread Smart Softwares - D. & S.
Hi Ivo, Tentei a sua sugestão... alterei a função para retornar a primeira posição do ARRAY ($1[1]), mas agora a função retorna um erro. Para executar a função digito o seguinte comando: select "SMART"."TB_ADM_CEP_SEL1"('{4,3}') Mas dá o seguinte erro: ERROR: array value must start with "{" or

Re: [ADMIN] Function with Array

2007-01-22 Thread Iannsp
Smart Softwares - D. & S. escreveu: Hello to all... I am with a problem in a function that I am creating. The parameters that are function go to receive are an ARRAY and the return also will be an ARRAY, the entrance parameters will be used in a clause SQL. E the exit ARRAY will be the result

[ADMIN] Function with Array

2007-01-22 Thread Smart Softwares - D. & S.
Hello to all... I am with a problem in a function that I am creating. The parameters that are function go to receive are an ARRAY and the return also will be an ARRAY, the entrance parameters will be used in a clause SQL. E the exit ARRAY will be the result of the SQL. However, I elaborated the fu