Documentos de Académico
Documentos de Profesional
Documentos de Cultura
declare
vn binary_integer:='&numero_de_socios';
cursor csocio is
select nombre,apellidos,cuota_socio
from usuarios;
type tsocio is table of csocio%rowtype
index by binary_integer;
vtsocio tsocio;
vi binary_integer:=0;
type tnsocio is table of csocio%rowtype
index by binary_integer;
vtnsocio tnsocio;
vj binary_integer:=0;
vb binary_integer:=0;
begin
for vs in csocio loop
vtsocio(vi):=vs;
vi:=vi+1;
end loop;
vj:=vi-1;
end loop;
vtsocio(vb).cuota_socio:=-1;
vj:=vj-1;
end loop;
dbms_output.put_line('||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||');
dbms_output.put_line('/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\');
end loop;
end;