Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/06/2013, 12:52
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: cursor del oracle

Hola geihidfon

Según la doc oficial:
Cita:
%ROWCOUNT Attribute
A cursor attribute that can be appended to the name of a cursor or cursor variable. When a cursor is opened, %ROWCOUNT is zeroed. Before the first fetch, cursor_name%ROWCOUNT returns 0. Thereafter, it returns the number of rows fetched so far. The number is incremented if the latest fetch returned a row.
http://docs.oracle.com/cd/B12037_01/...3_elems011.htm

En pocas palabras, esta variable se habilita cuando hagas el primer fetch.

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming