Hello
I have a Storeprocedure that returns me 24 registrations but when I declare
it in PB 7.0 alone it returns me a single registration
I don't understand for that happens me this. They could help me
I send them the Storeprocedure so that it revises it



create procedure sp_prueba
as
declare @ls_facnro char(10)
declare prueba cursor for
select fld_facnro from TabFacCab where fld_fecemi='2000/02/09'
open prueba
fetch prueba into @ls_facnro
if (@@sqlstatus = 2)
begin
close prueba
return
end
while (@@sqlstatus=0)
begin
select @ls_facnro
fetch prueba into @ls_facnro
end
close prueba
return


Thank you

Gracias


lpesares@lim-co.pe.dhl.com