Referenciar mi registro actual
Publicado por CarlosA (5 intervenciones) el 10/11/2008 21:10:12
Hola a todos, estoy haciendo un trigger y necesito referenciar mi registro actual pero no se como... me explico un poco.
dentro del trigger tengo esta instruccion
select xcampo
into variable
from mitabla
where
necesito en la clausula where poder identificar el registro donde estoy parado actualmente... lo intente con el campo llave primaria agregando esto
select xcampo
into variable
from mitabla
where
como lo hago ??? estuve leyendo algo del rowid pero no pude hacerlo... no tengo mucha experiencia con plsql...
muchas gracias
CarlosA
dentro del trigger tengo esta instruccion
select xcampo
into variable
from mitabla
where
necesito en la clausula where poder identificar el registro donde estoy parado actualmente... lo intente con el campo llave primaria agregando esto
select xcampo
into variable
from mitabla
where
como lo hago ??? estuve leyendo algo del rowid pero no pude hacerlo... no tengo mucha experiencia con plsql...
muchas gracias
CarlosA
Valora esta pregunta


0