Ver Mensaje Individual
  #8 (permalink)  
Antiguo 20/11/2014, 16:19
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: Trigger Oracle Columna actual del FOR EACH ROW

Pruebalo de esta forma:

Código SQL:
Ver original
  1. i := 0;
  2. FOR cur IN (SELECT COLUMN_NAME FROM USER_TAB_COLUMNS WHERE TABLE_NAME='TABLA')
  3. LOOP
  4. columnas[i] := cur.column_name;
  5. i := i + 1;
  6. END LOOP;
__________________
Without data, You are another person with an opinion.
W. Edwads Deming