Re: comop programar con arrays

From: Juan <smalltalker(dot)marcelo(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Álvaro Hernández <aht(at)nosys(dot)es>, Ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: comop programar con arrays
Date: 2011-06-22 20:46:09
Message-ID: BANLkTinisdrkmcX-GA0QrVFGt6aBXvnGdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola
es asi como se asigna a un array?
la linea de un asterisco, porque no se carga el array ... :(

..
DECLARE tfonid_row salidafonid%ROWTYPE ;
Declare m_recs integer[50] ;
.
.
.
for tfonid_row in execute
'SELECT docu FROM salidafonid ORDER BY random() LIMIT 50' loop

m_recs[ N_TOTAL_DNI ] = tfonid_row.docu ; (*)

N_TOTAL_DNI := N_TOTAL_DNI +1 ;
end loop ;

salu2
mdc

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Gilberto Castillo Martínez 2011-06-22 20:52:22 Re: comop programar con arrays
Previous Message Alvaro Herrera 2011-06-22 20:36:30 Re: comop programar con arrays